Skip to content

Commit 1654e36

Browse files
Remove version update trigger on release (#1674)
Version update should occur before creating the release otherwise release contain the content of previous version. Removed the version update workflow trigger on release. User need to run the version update workflow manually and merge the PR. Once PR is merged then new release should be created Signed-off-by: Chaminda Divitotawela <[email protected]>
1 parent 7fe9ec1 commit 1654e36

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/update-version.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Update Version
22

33
on:
4-
release:
5-
types: ["released"]
64
workflow_dispatch:
75
inputs:
86
version:
@@ -13,7 +11,7 @@ jobs:
1311
update:
1412
runs-on: ubuntu-latest
1513
env:
16-
VERSION: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || github.event.release.name }}
14+
VERSION: ${{ github.event.inputs.version }}
1715
permissions:
1816
contents: write
1917
pull-requests: write

0 commit comments

Comments
 (0)