chore(release): modifying NuGet publishing
This commit is contained in:
parent
152428b235
commit
aa1eae40e0
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg || exit 1
|
||||||
echo "$(basename $0): publishing NuGet package"
|
echo "$(basename $0): publishing NuGet package"
|
||||||
dotnet nuget remove source mfgames.com >& /dev/null
|
dotnet nuget remove source mfgames.com >& /dev/null
|
||||||
dotnet nuget add source --name mfgames.com --username dmoonfire --password $GITEA_TOKEN https://src.mfgames.com/api/packages/mfgames-cil/nuget/index.json --store-password-in-clear-text || exit 1
|
dotnet nuget add source --name mfgames.com --username dmoonfire --password $GITEA_TOKEN https://src.mfgames.com/api/packages/mfgames-cil/nuget/index.json --store-password-in-clear-text || exit 1
|
||||||
dotnet nuget push --source mfgames.com src/*/bin/Debug/*nupkg || exit 1
|
dotnet nuget push --skip-duplicate --source mfgames.com src/*/bin/Debug/*.nupkg || exit 1
|
||||||
|
|
||||||
# Tag and push, but only if we don't have a tag.
|
# Tag and push, but only if we don't have a tag.
|
||||||
if ! git tag | grep $SEMVER >& /dev/null
|
if ! git tag | grep $SEMVER >& /dev/null
|
||||||
|
|
Reference in a new issue