diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 44b77a85..91dfc8ea 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -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 */ diff --git a/make-release.sh b/make-release.sh index ca0a3c3c..8357ecf9 100755 --- a/make-release.sh +++ b/make-release.sh @@ -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