Skip to content

Commit

Permalink
fix version ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
tnyo43 committed Jul 7, 2024
1 parent 2c48725 commit a1c5b5f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
VERSION=$(echo ${{ github.ref }} | sed -e "s#refs/tags/##g")
curl https://api.github.com/repos/tnyo43/i18n-locale-lint/releases/tags/$VERSION | jq 'reduce .assets[] as $item ({}; .[$item.name] = $item.url)' > scripts/assets.json
- run: curl https://api.github.com/repos/tnyo43/i18n-locale-lint/releases/tags/${{ github.ref_name }} | jq 'reduce .assets[] as $item ({}; .[$item.name] = $item.url)' > scripts/assets.json
- uses: peter-evans/create-pull-request@v6
with:
body: |
Expand Down

0 comments on commit a1c5b5f

Please sign in to comment.