Skip to content

Commit

Permalink
Fix release script for new location of Smarty class
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed Aug 7, 2023
1 parent 277dfda commit 6c48c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c48c44

Please sign in to comment.