Commit 0e954e02 authored by Robert Knight's avatar Robert Knight

Add missing "v" in front of tag name

Client versions have the form `MAJOR.MINOR.PATCH`. Client tags are the
same but with a 'v' prefix.
parent 320a13fb
...@@ -197,7 +197,7 @@ stage('Publish') { ...@@ -197,7 +197,7 @@ stage('Publish') {
""" """
// Create GitHub release with changes since previous release. // Create GitHub release with changes since previous release.
sh "scripts/create-github-release.js ${pkgVersion}" sh "scripts/create-github-release.js v${pkgVersion}"
sh "echo '//registry.npmjs.org/:_authToken=${env.NPM_TOKEN}' >> \$HOME/.npmrc" sh "echo '//registry.npmjs.org/:_authToken=${env.NPM_TOKEN}' >> \$HOME/.npmrc"
sh "yarn publish --no-interactive --tag ${npmTag} --new-version=${newPkgVersion}" sh "yarn publish --no-interactive --tag ${npmTag} --new-version=${newPkgVersion}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment