Skip to content

Commit eb892e1

Browse files
committed
chore: fix tag creation permissions
1 parent 0592223 commit eb892e1

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/release-github.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ jobs:
7575
if: ${{ steps.info.outputs.isNewVersion }}
7676
run: npm run pack
7777

78-
- name: Create Tag
79-
if: ${{ steps.info.outputs.isNewVersion }}
80-
run: |
81-
git tag -a v${{ steps.info.outputs.version }} -m "chore(release): v${{ steps.info.outputs.version }}"
82-
git push origin v${{ steps.info.outputs.version }} --no-verify
83-
8478
- name: Build Release Notes
8579
if: ${{ steps.info.outputs.isNewVersion }}
8680
id: release-notes

.github/workflows/release-npm.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release Handler (NPM)
22

33
on:
44
release:
5-
types: [ created ]
5+
types: [published]
66
workflow_dispatch:
77

88
permissions:
@@ -14,9 +14,6 @@ env:
1414

1515
jobs:
1616
publish:
17-
# Run if release is not a draft or run through workflow_dispatch
18-
if: ${{ github.event.release.draft == false || github.event_name == 'workflow_dispatch' }}
19-
2017
name: Publish (NPM)
2118
runs-on: ubuntu-latest
2219

0 commit comments

Comments
 (0)