From 4d6c070e18e1c188fc41eadd29103efe26db72de Mon Sep 17 00:00:00 2001 From: adimiko Date: Mon, 5 Feb 2024 04:33:39 +0100 Subject: [PATCH] ci/cd --- scripts/publish-package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish-package.sh b/scripts/publish-package.sh index 2a0776e..ad9ffe9 100644 --- a/scripts/publish-package.sh +++ b/scripts/publish-package.sh @@ -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 \ No newline at end of file