Skip to content

Commit 3c328bd

Browse files
FIX (releases): Remove creating Git tag on each release
1 parent ec6a2d6 commit 3c328bd

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
if: ${{ !contains(github.event.head_commit.message, '[skip-release]') }}
12+
permissions:
13+
contents: write
14+
pull-requests: write
1215

1316
steps:
1417
- name: Check out code
@@ -197,15 +200,6 @@ jobs:
197200
echo EOF
198201
} >> $GITHUB_OUTPUT
199202
200-
- name: Create Git tag
201-
if: steps.version_bump.outputs.should_release == 'true'
202-
run: |
203-
NEW_VERSION="${{ steps.version_bump.outputs.new_version }}"
204-
git config user.name "github-actions[bot]"
205-
git config user.email "github-actions[bot]@users.noreply.github.com"
206-
git tag -a "v${NEW_VERSION}" -m "Release v${NEW_VERSION}"
207-
git push origin "v${NEW_VERSION}"
208-
209203
- name: Create GitHub Release
210204
if: steps.version_bump.outputs.should_release == 'true'
211205
uses: actions/create-release@v1

0 commit comments

Comments
 (0)