This commit is contained in:
2020-03-02 22:35:26 +03:00
commit b72fecbbec
11 changed files with 125 additions and 0 deletions

14
publish/Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,14 @@
stage ('publish') {
steps {
echo 'checking tag'
script {
def tag = sh(returnStdout: true, script: "git tag --contains").trim()
if (tag) {
echo 'found tag ' + tag
sh 'npm publish'
} else {
echo 'tag not found'
}
}
}
}