Skip to content

Commit 7284f7f

Browse files
author
Sung Won Cho
committed
add guide
1 parent bbbb470 commit 7284f7f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

release.sh

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Release guide
2+
# 1. bump version in `package.json`
3+
# 2. run `./release.sh [version_number]`
4+
#
5+
# This script will add, commit, tag, and push changes
6+
#
7+
18
version="$1"
29

310
if [ -z "$1" ]; then
@@ -6,6 +13,7 @@ if [ -z "$1" ]; then
613
exit 1
714
fi
815

16+
git add .
917
git commit -m "$1"
1018
git tag -a v"$1" -m "See RELEASE_NOTE.md for changes"
1119
git push --follow-tags

0 commit comments

Comments
 (0)