Cleaned up build
Some checks failed
Test MycroForge.CLI / test (push) Has been cancelled
Build and publish MycroForge.CLI / test (push) Failing after 47s

This commit is contained in:
mdnapo 2024-10-06 14:27:10 +02:00
parent 5c7d07afb0
commit 8396da2e9a

View File

@ -23,12 +23,8 @@ jobs:
--store-password-in-clear-text \
https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json
VERSION=$(grep '<Version>' < MycroForge.CLI.csproj | sed 's/.*<Version>\(.*\)<\/Version>/\1/')
TAG="nupkg/$(ls nupkg)"
echo "TAG=$TAG"
# Get the path to the package
PACKAGE="nupkg/$(ls nupkg)"
# Push the package
dotnet nuget push "$TAG" --source devdisciples
# dotnet nuget push "nupkg/MycroForge.CLI.$VERSION.nupkg" --source devdisciples
dotnet nuget push "PACKAGE" --source devdisciples