Skip to content

Commit

Permalink
build(jenkins): publish master to github release and npm
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Sep 4, 2019
1 parent 3b21371 commit 3960518
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!groovy
library 'pipeline-library'

def isMaster = env.BRANCH_NAME.equals('master')

buildModule {
sdkVersion = '8.1.1.GA' // use a master build with ARM64 support
npmPublish = true
npmPublishArgs = '--access public --dry-run'
npmPublish = isMaster
}

0 comments on commit 3960518

Please sign in to comment.