mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-26 16:00:31 +02:00
Update run.sh
This commit is contained in:
@@ -77,8 +77,8 @@ fi
|
|||||||
files=$(grep -rl ${CURRENT} /data/${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g"
|
files=$(grep -rl ${CURRENT} /data/${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g"
|
||||||
|
|
||||||
#Update changelog
|
#Update changelog
|
||||||
echo "${LASTVERSION} : update to latest linuxserver version" >> /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
sed -i "1i " /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||||
echo "" >> /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
sed -i "1i${LASTVERSION} : update to latest linuxserver version" /data/${BASENAME}/${SLUG}/CHANGELOG.md
|
||||||
|
|
||||||
if [ $files != null ]; then
|
if [ $files != null ]; then
|
||||||
git commit -m "Bot update to $LASTVERSION" $files || true
|
git commit -m "Bot update to $LASTVERSION" $files || true
|
||||||
|
|||||||
Reference in New Issue
Block a user