Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 8d2ef8d

Browse files
committed
💚 remove release trigger
1 parent e8fe2b9 commit 8d2ef8d

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: NPM publish
22

33
on:
4-
release:
5-
types: [created]
64
workflow_dispatch:
75
inputs:
86
version:
@@ -19,12 +17,6 @@ jobs:
1917
with:
2018
token: ${{ secrets.GITHUB_TOKEN }}
2119

22-
- name: Set version for release trigger
23-
uses: allenevans/set-env@v2.0.1
24-
if: ${{ github.event_name == 'release' }}
25-
with:
26-
PACKAGE_VERSION: ${{github.event.release.tag_name}}
27-
2820
- name: Set version for workflow dispatch
2921
uses: allenevans/set-env@v2.0.1
3022
if: ${{ github.event_name == 'workflow_dispatch' }}
@@ -45,13 +37,6 @@ jobs:
4537
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
4638
git config user.name "$GITHUB_ACTOR"
4739
48-
- name: Bump version for release trigger
49-
if: ${{ github.event_name == 'release' }}
50-
run: |
51-
npm --no-git-tag-version version ${{env.PACKAGE_VERSION}} --allow-same-version
52-
git add .
53-
git commit -m ${{env.PACKAGE_VERSION}}
54-
5540
- name: Bump version for workflow dispatch
5641
if: ${{ github.event_name == 'workflow_dispatch' }}
5742
run: npm version ${{env.PACKAGE_VERSION}} --allow-same-version

0 commit comments

Comments
 (0)