Cleaned up build
This commit is contained in:
parent
5c7d07afb0
commit
8396da2e9a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user