Skip to content

Commit

Permalink
Merge pull request #165 from eslint-kit/chore/fix-release-workflow-4
Browse files Browse the repository at this point in the history
Fix version parsing in release workflow
  • Loading branch information
Evgeny Zakharov committed May 27, 2023
2 parents b0c443c + f76aa28 commit 6d7f6ab
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ jobs:
git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"
- name: Checkout to released tag
uses: actions/checkout@v3

- name: Parse version from tag
id: version
uses: release-kit/semver@v1
with:
input: ${{ github.event.release.tag_name }}

- name: Checkout to released tag
uses: actions/checkout@v3
with:
ref: ${{ steps.version.outputs.tag }}

- uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 6d7f6ab

Please sign in to comment.