Skip to content

Commit 8615582

Browse files
committed
fix: remove redundant release step from workflow
1 parent 730e0e0 commit 8615582

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ on:
1212
- minor
1313
- major
1414
default: 'patch'
15-
create_github_release:
16-
description: 'Create GitHub Release'
17-
required: false
18-
type: boolean
19-
default: true
2015

2116
permissions:
2217
contents: read
@@ -57,14 +52,4 @@ jobs:
5752
env:
5853
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5954
run: |
60-
semantic-release version --${{ inputs.bump_type }} --commit --tag --push
61-
62-
- name: Create GitHub Release
63-
if: ${{ inputs.create_github_release }}
64-
env:
65-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
run: |
67-
LATEST_TAG=$(git describe --tags --abbrev=0)
68-
gh release create "$LATEST_TAG" \
69-
--title "$LATEST_TAG" \
70-
--generate-notes
55+
semantic-release version --${{ inputs.bump_type }} --commit --tag --push --vcs-release

0 commit comments

Comments
 (0)