Skip to content

Commit

Permalink
Merge pull request #7 from empathyco/ci/fix-release-step
Browse files Browse the repository at this point in the history
ci: fix release steps
  • Loading branch information
Turito authored Oct 21, 2024
2 parents 4d8fa5b + f3a3fe9 commit ce0c703
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ jobs:
- name: Create version tag
if: steps.tag.outputs.name != ''
run: |
HEAD_TAG=$(git tag -l | grep -v "v*" | sort -V | tail -2 | head -1)
git tag -a "${{steps.tag.outputs.name}}" -m "release version ${{steps.tag.outputs.name}}"
git push origin "${{steps.tag.outputs.name}}"
gh release create ${{steps.tag.outputs.name}} --generate-notes --notes-start-tag $HEAD_TAG
gh release create ${{steps.tag.outputs.name}} --generate-notes --notes-start-tag $(git tag -l "v*.*" | sort -V | tail -2 | head -1)
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

Expand Down

0 comments on commit ce0c703

Please sign in to comment.