mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-22 20:46:28 +01:00
Added changelog
This commit is contained in:
@@ -74,9 +74,12 @@ fi
|
||||
|
||||
#Change all instances of version
|
||||
bashio::log.info "... $SLUG : updating files"
|
||||
|
||||
files=$(grep -rl ${CURRENT} /data/${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g"
|
||||
|
||||
#Update changelog
|
||||
echo "${LASTVERSION} : update to latest linuxserver version" >> /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||
echo "" >> /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||
|
||||
if [ $files != null ]; then
|
||||
git commit -m "Bot update to $LASTVERSION" $files || true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user