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

Commit 94b40cc

Browse files
author
Nicolai Bjerre Pedersen
committed
Added changelog section to README
1 parent 4e22a33 commit 94b40cc

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* [Installation](#installation)
1616
* [Configuration](#configuration)
1717
* [Example](#example)
18+
* [Changelog & Releases](#changelog)
1819
* [Docker status](#docker)
1920

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

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

89+
## < name='changelog'>Changelog & Releases
90+
91+
This repository keeps a [change log](CHANGELOG.md). The format of the log
92+
is based on [Keep a Changelog][keepchangelog].
93+
94+
Releases are based on [Semantic Versioning][semver], and use the format
95+
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
96+
based on the following:
97+
98+
- ``MAJOR``: Incompatible or major changes.
99+
- ``MINOR``: Backwards-compatible new features and enhancements.
100+
- ``PATCH``: Backwards-compatible bugfixes and package updates.
101+
88102

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

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

157+
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
158+
[semver]: http://semver.org/spec/v2.0.0.html
159+
143160
[hassio-addons]: https://github.com/mr-bjerre/hassio-addons

remote-backup/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function add-ssh-key {
3636
function copy-backup-to-remote {
3737

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

0 commit comments

Comments
 (0)