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
|
||||
nuget.config = nuget.config
|
||||
pack.sh = pack.sh
|
||||
push_packages.sh = push_packages.sh
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<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>
|
||||
</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