Skip to content

Commit 0b7335b

Browse files
committed
removed push force and latest update
1 parent dd4396d commit 0b7335b

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,4 @@ jobs:
131131
files: release-assets/a
132132
make_latest: false
133133
env:
134-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135-
136-
- name: Mark latest main release
137-
if: github.ref_name == 'main'
138-
run: |
139-
git config user.name "github-actions[bot]"
140-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
141-
142-
git tag -f latest "$GITHUB_SHA"
143-
git push origin latest --force
144-
145-
gh release edit "$RELEASE_TAG" --latest
146-
env:
147-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
134+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)