Skip to content

Commit c7864fe

Browse files
committed
deploy script (v0.1.17)
1 parent c0a0ba5 commit c7864fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deploy.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
2+
CURRENT_VERSION=$(node -p "require('./package.json').version")
23

34
git add .
45

5-
git commit -m "$@"
6+
git commit -m "$@ (v$CURRENT_VERSION)"
67

78
echo ===================================================
89
echo Pushing to github branch $branch ...

0 commit comments

Comments
 (0)