NuGet pushing
This commit is contained in:
parent
1fd95018d9
commit
1a1c8d4185
3 changed files with 11 additions and 2 deletions
|
@ -12,7 +12,7 @@ deploy:
|
|||
file_glob: true
|
||||
file: BuildOutput/NugetPackages/*
|
||||
provider: script
|
||||
script: nuget push -Verbosity detailed -Source https://www.nuget.org/api/v2/package BuildOutput/NugetPackages/*.nupkg $NUGETAPIKEY
|
||||
script: chmod +x pushnuget.sh && ./pushnuget.sh
|
||||
on:
|
||||
branch: master
|
||||
repo: GtkSharp/GtkSharp
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// VARS
|
||||
|
||||
Settings.Cake = Context;
|
||||
Settings.Version = "3.22.24.21";
|
||||
Settings.Version = "3.22.24.22";
|
||||
Settings.BuildTarget = Argument("BuildTarget", "Default");
|
||||
Settings.Assembly = Argument("Assembly", "");
|
||||
|
||||
|
|
9
pushnuget.sh
Executable file
9
pushnuget.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo nuget update -self
|
||||
|
||||
for f in BuildOutput/NugetPackages/*.nupkg
|
||||
do
|
||||
echo "Processing $f..."
|
||||
nuget push -Verbosity detailed -Source https://www.nuget.org/api/v2/package "$f" $NUGETAPIKEY
|
||||
done
|
Loading…
Reference in a new issue