Fix release script for new location of Smarty class

This commit is contained in:
Simon Wisselink
2023-08-08 00:18:55 +02:00
parent 277dfda102
commit 6c48c44be5

View File

@@ -9,9 +9,9 @@ fi
git checkout -b "release/$1"
sed -i "s/## \\[Unreleased\\]/## \\[Unreleased\\]\\n\\n## \\[$1\\] - $(date +%Y-%m-%d)/" CHANGELOG.md
sed -i "s/const SMARTY_VERSION = '[^']\+';/const SMARTY_VERSION = '$1';/" libs/Smarty.class.php
sed -i "s/const SMARTY_VERSION = '[^']\+';/const SMARTY_VERSION = '$1';/" src/Smarty.php
git add CHANGELOG.md libs/Smarty.class.php
git add CHANGELOG.md src/Smarty.php
git commit -m "version bump"
git checkout master