Skip to content

Commit 8c0bc62

Browse files
authored
fix: error in release pipeline (#378)
Fix error in #364
1 parent e2607db commit 8c0bc62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ jobs:
2525
with:
2626
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2727
- name: Tag current commit
28-
id: tag
2928
shell: bash
3029
run: |
3130
version="${GITHUB_REF#refs/heads/release/}"
3231
git tag "${version}"
33-
echo "release_version=${version}" >> "$GITHUB_OUTPUT"
3432
- name: Cache SonarCloud packages
3533
uses: actions/cache@v3
3634
with:
@@ -281,11 +279,13 @@ jobs:
281279
with:
282280
fetch-depth: 0
283281
- name: Tag current commit
282+
id: tag
284283
shell: bash
285284
run: |
286285
version="${GITHUB_REF#refs/heads/release/}"
287286
git tag "${version}"
288287
git push origin "${version}"
288+
echo "release_version=${version}" >> "$GITHUB_OUTPUT"
289289
- name: Setup NuGet
290290
uses: NuGet/[email protected]
291291
- name: Setup .NET

0 commit comments

Comments
 (0)