Cleaned up build
This commit is contained in:
parent
5c7d07afb0
commit
8396da2e9a
@ -23,12 +23,8 @@ jobs:
|
|||||||
--store-password-in-clear-text \
|
--store-password-in-clear-text \
|
||||||
https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json
|
https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json
|
||||||
|
|
||||||
VERSION=$(grep '<Version>' < MycroForge.CLI.csproj | sed 's/.*<Version>\(.*\)<\/Version>/\1/')
|
# Get the path to the package
|
||||||
|
PACKAGE="nupkg/$(ls nupkg)"
|
||||||
TAG="nupkg/$(ls nupkg)"
|
|
||||||
|
|
||||||
echo "TAG=$TAG"
|
|
||||||
|
|
||||||
# Push the package
|
# Push the package
|
||||||
dotnet nuget push "$TAG" --source devdisciples
|
dotnet nuget push "PACKAGE" --source devdisciples
|
||||||
# dotnet nuget push "nupkg/MycroForge.CLI.$VERSION.nupkg" --source devdisciples
|
|
||||||
|
Loading…
Reference in New Issue
Block a user