Skip to content

Commit

Permalink
ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
adimiko committed Feb 5, 2024
1 parent 2a54172 commit 4d6c070
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/publish-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
echo Executing after success scripts on branch $GITHUB_REF_NAME
echo Triggering Nuget package build

cd $1
cd source/$1
dotnet pack -c release /p:PackageVersion=$GITHUB_REF_NAME --no-restore -o .

echo Uploading package to Nuget using branch $GITHUB_REF_NAME
echo Uploading $1 package to Nuget using branch $GITHUB_REF_NAME

dotnet nuget push *.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json

0 comments on commit 4d6c070

Please sign in to comment.