Skip to content

Commit

Permalink
fix release tag and environment (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev authored Nov 12, 2024
1 parent 97491c7 commit 763c4a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
publish:
runs-on: ubuntu-latest
needs: build
environment: yarn
environment: npm
permissions:
contents: write
env:
Expand All @@ -36,7 +36,7 @@ jobs:
- id: pkg
run: |
content=`cat ./package.json | tr '\n' ' '`
echo "::set-output name=json::$content"
echo "json=$content" >> $GITHUB_OUTPUT
- run: |
git tag v${{ fromJson(steps.pkg.outputs.json).version }}
git push origin v${{ fromJson(steps.pkg.outputs.json).version }}

0 comments on commit 763c4a1

Please sign in to comment.