diff --git a/.github/workflows/nuget-release.yml b/.github/workflows/nuget-release.yml index 0149b3f74..74de86133 100644 --- a/.github/workflows/nuget-release.yml +++ b/.github/workflows/nuget-release.yml @@ -15,10 +15,10 @@ jobs: with: dotnet-version: "9.x.x" - - name: Verify commit exists in origin/main + - name: Verify commit exists in origin/dev run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - git branch --remote --contains | grep origin/main + git branch --remote --contains | grep origin/dev - name: Set VERSION variable from tag run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV