Skip to content

Commit

Permalink
chore: fix release version when manually specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello committed Sep 1, 2020
1 parent 530a470 commit d6a9302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/pre-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RELEASE_TYPE=$1
PREV_VERSION=$(git describe --abbrev=0)

if [ "${RELEASE_TYPE:0:1}" == "v" ]; then
VERSION="$RELEASE_TYPE"
VERSION="${RELEASE_TYPE:1}"
else
reltype=""
if [ "$RELEASE_TYPE" == "major" ]; then
Expand Down

0 comments on commit d6a9302

Please sign in to comment.