push_packages.sh
This commit is contained in:
parent
2876855a3b
commit
3955b0ee7f
@ -1 +0,0 @@
|
|||||||
Subproject commit f64d655f490602b5858baeed3572ea2a9b850013
|
|
||||||
@ -23,6 +23,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
|||||||
LICENSE = LICENSE
|
LICENSE = LICENSE
|
||||||
nuget.config = nuget.config
|
nuget.config = nuget.config
|
||||||
pack.sh = pack.sh
|
pack.sh = pack.sh
|
||||||
|
push_packages.sh = push_packages.sh
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<packageSources>
|
<packageSources>
|
||||||
<add key="DTLib local" value="./nuget/" />
|
<add key="local" value="./nuget/" />
|
||||||
|
<add key="github" value="https://nuget.pkg.github.com/Timerix22/index.json" />
|
||||||
</packageSources>
|
</packageSources>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
11
push_packages.sh
Normal file
11
push_packages.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
echo enter github api key:
|
||||||
|
read -r GHK
|
||||||
|
echo enter nuget api key:
|
||||||
|
read -r NGK
|
||||||
|
|
||||||
|
for PACK in $(find ./nuget -name '*.nupkg'); do
|
||||||
|
dotnet nuget push $PACK -k $GHK -s github --skip-duplicate
|
||||||
|
dotnet nuget push $PACK -k $NGK -s nuget.org --skip-duplicate
|
||||||
|
done
|
||||||
Loading…
Reference in New Issue
Block a user