Skip to content

Commit

Permalink
Merge pull request #2068 from specklesystems/ci-nuget
Browse files Browse the repository at this point in the history
ci: verbose output when pushing nugets
  • Loading branch information
teocomi authored Jan 16, 2023
2 parents 776f15b + 3189bb1 commit 084fd3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/scripts/config-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ commands:
$tag = if([string]::IsNullOrEmpty($env:CIRCLE_TAG)) { "2.0.999.$($env:WORKFLOW_NUM)" } else { $env:CIRCLE_TAG }
$version = $tag.Split("/")[1]
msbuild <<parameters.projectfilepath>> /p:Version="$version" /p:Configuration=Release /p:WarningLevel=0 /p:IsDesktopBuild=false -t:pack
dotnet nuget push **/*.nupkg -s https://api.nuget.org/v3/index.json -k $env:NUGET_APIKEY -n true
dotnet nuget push "**/*.nupkg" -s https://api.nuget.org/v3/index.json -k $env:NUGET_APIKEY -n -v d --skip-duplicate
environment:
WORKFLOW_NUM: << pipeline.number >>
packandpublish-bash:
Expand All @@ -33,7 +33,7 @@ commands:
SEMVER=$(echo "$TAG" | sed -e 's/\/[a-zA-Z-]+//')
VERSION=$(echo "$SEMVER" | sed -e 's/[a-zA-Z]*\///')
msbuild <<parameters.projectfilepath>> /p:Version="$VERSION" /p:Configuration=Release /p:WarningLevel=0 /p:IsDesktopBuild=false -t:pack
~/.dotnet/dotnet nuget push **/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_APIKEY -n
~/.dotnet/dotnet nuget push "**/*.nupkg" -s https://api.nuget.org/v3/index.json -k $NUGET_APIKEY -n -v d --skip-duplicate
environment:
WORKFLOW_NUM: << pipeline.number >>
jobs: # Each project will have individual jobs for each specific task it has to execute (build, release...)
Expand Down

0 comments on commit 084fd3c

Please sign in to comment.