Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Added changelog section to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolai Bjerre Pedersen committed Mar 8, 2018
1 parent 4e22a33 commit 94b40cc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* [Installation](#installation)
* [Configuration](#configuration)
* [Example](#example)
* [Changelog & Releases](#changelog)
* [Docker status](#docker)

## <a name='about'></a>About
Expand Down Expand Up @@ -85,6 +86,19 @@ _Add-on configuration_:

**Note**: _This is just an example, don't copy and past it! Create your own!_

## < name='changelog'>Changelog & Releases

This repository keeps a [change log](CHANGELOG.md). The format of the log
is based on [Keep a Changelog][keepchangelog].

Releases are based on [Semantic Versioning][semver], and use the format
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
based on the following:

- ``MAJOR``: Incompatible or major changes.
- ``MINOR``: Backwards-compatible new features and enhancements.
- ``PATCH``: Backwards-compatible bugfixes and package updates.


## <a name='docker'></a>Docker status

Expand Down Expand Up @@ -140,4 +154,7 @@ _Add-on configuration_:
[travis-build]: https://travis-ci.org/mr-bjerre/hassio-remote-backup
[travis-build-shield]: https://travis-ci.org/mr-bjerre/hassio-remote-backup.svg?branch=master

[keepchangelog]: http://keepachangelog.com/en/1.0.0/
[semver]: http://semver.org/spec/v2.0.0.html

[hassio-addons]: https://github.com/mr-bjerre/hassio-addons
2 changes: 1 addition & 1 deletion remote-backup/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function add-ssh-key {
function copy-backup-to-remote {

cd /backup/
if [ "$ZIP_PASSWORD" == "" ]; then
if [[ ! $ZIP_PASSWORD ]]; then
echo "Copying ${slug}.tar to ${REMOTE_DIRECTORY} on ${SSH_HOST} using SCP"
scp -F "${HOME}/.ssh/config" "${slug}.tar" remote:"${REMOTE_DIRECTORY}"
else
Expand Down

0 comments on commit 94b40cc

Please sign in to comment.