-
-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate bump_version.sh and tag_release scripts
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,6 @@ if [[ "$1" != "" ]]; then | |
-- GlobaLeaks software signing key <[email protected]> $(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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |