Skip to content

Commit

Permalink
ci: fix tag publish
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed May 7, 2023
1 parent 01279df commit 2e2841f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,8 @@ jobs:
- name: Build
run: npm run build

- name: Create and push Git tag
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git tag "v${{ github.event.release.tag_name }}"
git push origin "v${{ github.event.release.tag_name }}"
- name: Release
run: npm run publish -- --yes
run: 'npx lerna publish ${{ github.event.release.tag_name }} --yes --no-git-tag-version --no-push --exact --force-publish=*'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 2e2841f

Please sign in to comment.