Skip to content

Commit

Permalink
shellcheck fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bymathias committed May 3, 2019
1 parent 139e102 commit 01c5f87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,15 @@ _bootstrap() {
;;
# ========================================== #
"release")
GIT_CUR_TAG=`git describe --abbrev=0 --tags`
GIT_CUR_TAG=$(git describe --abbrev=0 --tags)

echo -e "Bump project version (current $GIT_CUR_TAG)..."
read -p "Bump: " V_NEW
__changelog $DOT_LOG_FILE $V_NEW
read -rp "Bump: " V_NEW
__changelog "$DOT_LOG_FILE" "$V_NEW"
git add $DOT_LOG_FILE
git commit -m "docs(CHANGELOG): update changelog" &> /dev/null

git tag -a v$V_NEW -m "Release v$V_NEW"
git tag -a "v$V_NEW" -m "Release v$V_NEW"
echo "Done!"
;;
# ========================================== #
Expand Down

0 comments on commit 01c5f87

Please sign in to comment.