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:
parent
612df004e6
commit
bc18d4db15
1 changed files with 4 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue