From 6c48c44be50cfcbe922ee8f83b172410c0433ef7 Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Tue, 8 Aug 2023 00:18:55 +0200 Subject: [PATCH] Fix release script for new location of Smarty class --- make-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make-release.sh b/make-release.sh index abd8f1c0..ca2069be 100755 --- a/make-release.sh +++ b/make-release.sh @@ -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