Skip to content

Commit

Permalink
fix: release tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
Minozzzi committed Mar 20, 2024
1 parent c771497 commit b9076af
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,19 @@ jobs:
restore-keys: |
${{ runner.os }}-node-modules-
- name: Tag Name
id: set_tag
run: |
echo ::set-output name=tag::$(git describe HEAD --abbrev=0)
echo "Tag: ${{ steps.set_tag.outputs.tag }}"
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_name: Release git describe HEAD --abbrev=0
tag_name: git describe HEAD --abbrev=0
release_name: Release ${{ steps.tag.outputs.tag }}
tag_name: ${{ steps.tag.outputs.tag }}
body_path: CHANGELOG.md
draft: false
prerelease: false
Expand Down

0 comments on commit b9076af

Please sign in to comment.