Skip to content

Commit 2e2841f

Browse files
committed
ci: fix tag publish
1 parent 01279df commit 2e2841f

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,8 @@ jobs:
1919
- name: Build
2020
run: npm run build
2121

22-
- name: Create and push Git tag
23-
run: |
24-
git config --local user.email "action@github.com"
25-
git config --local user.name "GitHub Action"
26-
git tag "v${{ github.event.release.tag_name }}"
27-
git push origin "v${{ github.event.release.tag_name }}"
28-
2922
- name: Release
30-
run: npm run publish -- --yes
23+
run: 'npx lerna publish ${{ github.event.release.tag_name }} --yes --no-git-tag-version --no-push --exact --force-publish=*'
3124
env:
3225
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3326
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)