Skip to content

Commit a420663

Browse files
committed
refactor: remove redundant create-tag job from release workflow
The action-gh-release action automatically creates tags when publishing a release, making the manual create-tag job unnecessary.
1 parent 0a4d15c commit a420663

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,20 +108,6 @@ jobs:
108108
exit 1
109109
fi
110110
111-
create-tag:
112-
runs-on: ubuntu-latest
113-
needs: validate-version
114-
if: github.event_name == 'workflow_dispatch' && github.event.inputs.create_tag == 'true'
115-
steps:
116-
- uses: actions/checkout@v4
117-
118-
- name: Create and push tag
119-
run: |
120-
git config user.name "github-actions[bot]"
121-
git config user.email "github-actions[bot]@users.noreply.github.com"
122-
git tag ${{ needs.validate-version.outputs.tag_name }}
123-
git push origin ${{ needs.validate-version.outputs.tag_name }}
124-
125111
build:
126112
runs-on: ubuntu-latest
127113
needs: validate-version

0 commit comments

Comments
 (0)