Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 428278a

Browse files
authored
Update name to fit semver spec (#210)
* Update name to fit semver spec * Fix set version with --allow-same-version
1 parent ce40a6a commit 428278a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/analyze_and_publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -euo pipefail
1010

1111
export VERSION=$(grep version package.json | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g')
1212
source cirrus-env BUILD
13-
npm version --no-git-tag-version $VERSION-$BUILD_NUMBER
13+
npm version --no-git-tag-version --allow-same-version $VERSION+$BUILD_NUMBER
1414

1515
sonar-scanner \
1616
-Dsonar.organization=sonarsource \

0 commit comments

Comments
 (0)