Added changelog

This commit is contained in:
Alexandre
2021-02-06 07:10:24 +01:00
committed by GitHub
parent 35d1a6086f
commit 908254796f

View File

@@ -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