Skip to content

Commit

Permalink
Dev (#39)
Browse files Browse the repository at this point in the history
* fit: fix github workflow

* fit: fix github workflow
  • Loading branch information
Lawndlwd authored May 25, 2024
1 parent 4325dd9 commit 51b0769
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/great-walls-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"unused-i18n": patch
---

fix bug on release
5 changes: 5 additions & 0 deletions .changeset/stupid-ears-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"unused-i18n": patch
---

fix changeset
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get tag name
if: steps.changesets.outputs.hasChangesets == 'false'
id: get_tag_name
run: echo "TAG_NAME=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV

- name: Create GitHub Release
if: steps.changesets.outputs.hasChangesets == 'false'
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
tag_name: ${{ env.TAG_NAME }}
files: |
dist/**
CHANGELOG.md
Expand Down

0 comments on commit 51b0769

Please sign in to comment.