-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thanh Nguyen
committed
Dec 21, 2020
1 parent
b1ba8f6
commit 4d69f93
Showing
3 changed files
with
24 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
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
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,16 @@ | ||
#!/bin/sh | ||
|
||
## Utility script to release project with a tag | ||
## Usage: | ||
## ./release.sh <tag-name> | ||
|
||
if [ "$1" == "" ]; then | ||
echo "Usage: $0 tag-name" | ||
exit -1 | ||
fi | ||
|
||
echo "$1" | ||
git commit -m "$1" | ||
git tag -f -a "$1" -m "$1" | ||
git push origin "$1" -f | ||
git push |