Skip to content

Commit

Permalink
Update nuget-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pournasserian committed Nov 29, 2024
1 parent e348a4b commit a7d8401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuget-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7d8401

Please sign in to comment.