fixed version of Smarty::SMARTY_VERSION and updates make-release script to do so automatically from now on

This commit is contained in:
Simon Wisselink
2020-04-14 16:40:44 +02:00
parent 97f700971f
commit e0ea6899c8
2 changed files with 3 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/**
* smarty version
*/
const SMARTY_VERSION = '3.1.34-dev-7';
const SMARTY_VERSION = '3.1.35';
/**
* define variable scopes
*/

View File

@@ -4,8 +4,9 @@ printf 'Creating release %s\n' "$1"
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
git add CHANGELOG.md
git add CHANGELOG.md libs/Smarty.class.php
git commit -m "version bump"
git checkout master