From a0a32983fe60f86d2eb9aff2550beff20130148d Mon Sep 17 00:00:00 2001 From: Per Kops Date: Fri, 31 May 2024 11:16:03 +0200 Subject: [PATCH] ci: ensure proper nuget package version replacement in pipelines --- .github/workflows/post-integration.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/post-integration.yml b/.github/workflows/post-integration.yml index 9daa7c2..0381f23 100644 --- a/.github/workflows/post-integration.yml +++ b/.github/workflows/post-integration.yml @@ -79,7 +79,7 @@ jobs: - name: 📦 Push packages to GitHub Package Registry run: | - dotnet nuget push ${GITHUB_WORKSPACE}/packages/'Atc.Azure.IoT.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate - dotnet nuget push ${GITHUB_WORKSPACE}/packages/'Atc.Azure.IoTEdge.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate - dotnet nuget push ${GITHUB_WORKSPACE}/packages/'Atc.Azure.IoTEdge.DeviceEmulator.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate - dotnet nuget push ${GITHUB_WORKSPACE}/packages/'atc-azure-iot.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate \ No newline at end of file + dotnet nuget push ${GITHUB_WORKSPACE}/packages/Atc.Azure.IoT.${{ env.NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate + dotnet nuget push ${GITHUB_WORKSPACE}/packages/Atc.Azure.IoTEdge.${{ env.NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate + dotnet nuget push ${GITHUB_WORKSPACE}/packages/Atc.Azure.IoTEdge.DeviceEmulator.${{ env.NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate + dotnet nuget push ${GITHUB_WORKSPACE}/packages/atc-azure-iot.${{ env.NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bf54b3..3a463a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,7 @@ jobs: - name: 📦 Push packages to NuGet run: | - dotnet nuget push ${GITHUB_WORKSPACE}/packages/'Atc.Azure.IoT.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.NUGET_KEY }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate --no-symbols - dotnet nuget push ${GITHUB_WORKSPACE}/packages/'Atc.Azure.IoTEdge.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.NUGET_KEY }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate --no-symbols - dotnet nuget push ${GITHUB_WORKSPACE}/packages/'Atc.Azure.IoTEdge.DeviceEmulator.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.NUGET_KEY }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate --no-symbols - dotnet nuget push ${GITHUB_WORKSPACE}/packages/'atc-azure-iot.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.NUGET_KEY }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate --no-symbols \ No newline at end of file + dotnet nuget push ${GITHUB_WORKSPACE}/packages/Atc.Azure.IoT.${{ env.NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate --no-symbols + dotnet nuget push ${GITHUB_WORKSPACE}/packages/Atc.Azure.IoTEdge.${{ env.NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate --no-symbols + dotnet nuget push ${GITHUB_WORKSPACE}/packages/Atc.Azure.IoTEdge.DeviceEmulator.${{ env.NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate --no-symbols + dotnet nuget push ${GITHUB_WORKSPACE}/packages/atc-azure-iot.${{ env.NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate --no-symbols \ No newline at end of file