We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f78737 commit 162c9ccCopy full SHA for 162c9cc
tools/add_git_tag.sh
@@ -13,8 +13,8 @@ elif [ "$TRAVIS_BRANCH" == "stable" ]; then
13
npm_tag=`grep -Po '"version": "\d+.\d+.\d+"' web-src/package.json | grep -Po '\d+.\d+.\d+'`
14
minor_npm_version=${npm_tag%.*}
15
if [ ${last_tag%.*} == "$minor_npm_version" ]; then
16
- patch_npm_version=${npm_tag##*.}
17
- next_patch_version=$((patch_npm_version + 1))
+ last_patch_version=${last_tag##*.}
+ next_patch_version=$((last_patch_version + 1))
18
export NEW_GIT_TAG="$minor_npm_version.$next_patch_version"
19
else
20
export NEW_GIT_TAG="$npm_tag"
0 commit comments