Skip to content

Commit

Permalink
ci: let sem handle the tags
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-whodo committed Feb 3, 2025
1 parent c371b6a commit 92a16c0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,10 @@ jobs:
VERSION=$(echo "${{ github.event.pull_request.head.ref }}" | sed 's/release-//')
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
- name: Create Release
- name: Publish Release
env:
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
run: |
# Create and push tag
git tag -a "v${{ steps.get_version.outputs.VERSION }}" -m "Release v${{ steps.get_version.outputs.VERSION }}"
git push origin "v${{ steps.get_version.outputs.VERSION }}"
# Publish release
semantic-release publish
run: semantic-release publish

publish:
needs: release
Expand Down

0 comments on commit 92a16c0

Please sign in to comment.