Skip to content

Commit bcbd89e

Browse files
author
Adam Rutland
authored
Add --allow-same-version to not block publish.
1 parent 74499d2 commit bcbd89e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeship/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33

44
if [ $CI_BRANCH == "master" ]; then
55
CURRENT_VERSION=`npm show vlocity version`
6-
npm version $CURRENT_VERSION --no-git-tag-version
6+
npm version $CURRENT_VERSION --no-git-tag-version --allow-same-version
77
npm version patch --no-git-tag-version
88
else
99
CURRENT_VERSION=`npm show vlocity@$CI_BRANCH version`
@@ -30,4 +30,4 @@ if [ $CI_BRANCH == "master" ]; then
3030
npm publish .
3131
else
3232
npm publish . --tag="$CI_BRANCH"
33-
fi
33+
fi

0 commit comments

Comments
 (0)