Skip to content

Commit

Permalink
Add version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Tejas Kumar committed Dec 7, 2018
1 parent deee6f0 commit 0a0224d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def npmPublish(tag,registry){
#!/bin/bash
npm whoami --registry https://${registry}
npm version \$(npm show . version)-\$(git rev-parse --short HEAD) --no-git-tag-version --registry https://${registry} --unsafe-perm
(npm publish --tag next --registry https://${registry} && node ./lambdas/notify-slack-on-publish-next.js) || echo "Publish failed, possibly because the SHA is the same. Continuing..."
(npm publish --tag next --registry https://${registry} && node ./lambdas/notify-slack-on-publish-next.js \$(npm show . version)-\$(git rev-parse --short HEAD)) || echo "Publish failed, possibly because the SHA is the same. Continuing..."
"""
}
def buildWebsite(dir,command){
Expand Down

0 comments on commit 0a0224d

Please sign in to comment.