Commit a93bb2a3 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

Indy release

parent 7eed06f3
......@@ -70,6 +70,7 @@ def doDebRelease(pname, pversion) {
sh "PLOC=\$(ls ./docs/*.deb); curl -X POST -F file=@\${PLOC} http://localhost:8008/api/files/${pname}-${pversion}"
sh "curl -X POST http://localhost:8008/api/repos/releases/file/${pname}-${pversion}"
sh "curl -X PUT -H 'Content-Type: application/json' --data '{}' http://localhost:8008/api/publish/:./trusty"
sh "curl -X PUT -H 'Content-Type: application/json' --data '{}' http://localhost:8008/api/publish/:./indy"
sh "rm ./docs/*.deb"
}
......@@ -78,5 +79,6 @@ def doDebSnapshot(pname, pversion) {
sh "PLOC=\$(ls ./docs/*.deb); curl -X POST -F file=@\${PLOC} http://localhost:8008/api/files/${pname}-${pversion}"
sh "curl -X POST http://localhost:8008/api/repos/snapshots/file/${pname}-${pversion}"
sh "curl -X PUT -H 'Content-Type: application/json' --data '{}' http://localhost:8008/api/publish/:./trusty"
sh "curl -X PUT -H 'Content-Type: application/json' --data '{}' http://localhost:8008/api/publish/:./indy"
sh "rm ./docs/*.deb"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment