diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh index 1593ca258b..3930f71ddc 100755 --- a/scripts/bump_version.sh +++ b/scripts/bump_version.sh @@ -26,8 +26,6 @@ if [[ "$1" != "" ]]; then -- GlobaLeaks software signing key $(date --rfc-email)\n\n$(cat debian/changelog)" > "$ROOTDIR"/debian/changelog git commit -a -m "Bump to version $1" - - git tag -s v$1 -m 'GlobaLeaks version $1' --force else echo -e "Please specify a version" exit 1 diff --git a/scripts/tag_release.sh b/scripts/tag_release.sh new file mode 100755 index 0000000000..83020725af --- /dev/null +++ b/scripts/tag_release.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# This script tag a new release version +set -e + +if [[ "$1" != "" ]]; then + echo "Tagging version v$1" + + git tag -s v$1 -m 'GlobaLeaks version $1' --force +else + echo -e "Please specify a version" + exit 1 +fi