Skip to content

Commit

Permalink
fix: error in release pipeline (#378)
Browse files Browse the repository at this point in the history
Fix error in #364
  • Loading branch information
vbreuss authored Aug 23, 2023
1 parent e2607db commit 8c0bc62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Tag current commit
id: tag
shell: bash
run: |
version="${GITHUB_REF#refs/heads/release/}"
git tag "${version}"
echo "release_version=${version}" >> "$GITHUB_OUTPUT"
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -281,11 +279,13 @@ jobs:
with:
fetch-depth: 0
- name: Tag current commit
id: tag
shell: bash
run: |
version="${GITHUB_REF#refs/heads/release/}"
git tag "${version}"
git push origin "${version}"
echo "release_version=${version}" >> "$GITHUB_OUTPUT"
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.2.0
- name: Setup .NET
Expand Down

0 comments on commit 8c0bc62

Please sign in to comment.