mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update run.sh
This commit is contained in:
@@ -75,8 +75,8 @@ fi
|
||||
#Update changelog
|
||||
touch /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||
sed -i "1i\ " /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||
sed -i "1i\## ${LASTVERSION:1:-1}" /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||
sed -i "1i\- Update to latest version from $UPSTREAM" /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||
sed -i "1i\## ${LASTVERSION:1:-1}" /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||
|
||||
if [ $files != null ]; then
|
||||
git commit -m "Update to $LASTVERSION" $files || true
|
||||
|
||||
Reference in New Issue
Block a user