We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d8e53e commit d9bc37eCopy full SHA for d9bc37e
scripts/create-version.sh
@@ -25,7 +25,6 @@ createVersion() {
25
echo -e $LOG_PREFIX $@
26
}
27
28
- NPM_VERSION_ARGUMENT=$@
29
NPM_PACKAGE_NAME=`cut -d "=" -f 2 <<< $(npm run env | grep "npm_package_name")`
30
31
MAIN_BRANCH=${MAIN_BRANCH:-master}
@@ -55,7 +54,7 @@ createVersion() {
55
54
log "Running build failed"
56
57
58
- NEXT_VERSION=$(npm version --no-git-tag-version "$NPM_VERSION_ARGUMENT")
+ NEXT_VERSION=$(npm version --no-git-tag-version "$@")
59
log "Creating ${NPM_PACKAGE_NAME} ${NEXT_VERSION}...";
60
61
log "Creating version publish branch...";
0 commit comments