Skip to content

Commit

Permalink
removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed Oct 22, 2021
1 parent e361b03 commit 22329d9
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,16 @@ git checkout -b "release/$1"
sed -i "s/=== Unreleased ===/=== Unreleased ===\\n\\n=== $1 - $(date +%Y-%m-%d) ===/" ChangeLog
sed -i "s/var \$_version = '[^']\+';/var \$_version = '$1';/" libs/Smarty.class.php

exit;
git add ChangeLog libs/Smarty.class.php
git commit -m "version bump"

#git add ChangeLog libs/Smarty.class.php
#git commit -m "version bump"
#
#git checkout support/2.6
#git pull
#git merge --no-ff "release/$1"
#git branch -d "release/$1"
#git tag -a "v$1" -m "Release $1"
#
#printf 'Done creating release %s\n' "$1"
#
## shellcheck disable=SC2016
#printf 'Run `git push --follow-tags origin` to publish it.\n'
git checkout support/2.6
git pull
git merge --no-ff "release/$1"
git branch -d "release/$1"
git tag -a "v$1" -m "Release $1"

printf 'Done creating release %s\n' "$1"

# shellcheck disable=SC2016
printf 'Run `git push --follow-tags origin` to publish it.\n'

0 comments on commit 22329d9

Please sign in to comment.