1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-23 05:08:34 +01:00

only publish on master

This commit is contained in:
Ellpeck 2020-03-05 00:41:29 +01:00 committed by GitHub
parent 612df004e6
commit bc18d4db15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
Jenkinsfile vendored
View file

@ -20,6 +20,9 @@ done'''
} }
stage('Publish') { stage('Publish') {
when {
branch 'master'
}
steps { steps {
sh '''for i in **/*.nupkg; do sh '''for i in **/*.nupkg; do
dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true