Skip to content

Commit 6bc46d4

Browse files
committed
fix: persist credentials so username can be found on git push
Signed-off-by: jmeridth <jmeridth@gmail.com>
1 parent 1360e49 commit 6bc46d4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,12 @@ jobs:
8484
with:
8585
fetch-tags: true
8686
ref: ${{ needs.create_release.outputs.full-tag }}
87-
persist-credentials: false
87+
persist-credentials: true
8888

8989
- name: Force update major tag
9090
run: |
9191
git tag -f "${SHORT}" "${FULL}"
9292
git push -f origin "${SHORT}"
9393
env:
94-
GITHUB_TOKEN: ${{ secrets.github-token }}
9594
SHORT: ${{ needs.create_release.outputs.short-tag }}
9695
FULL: ${{ needs.create_release.outputs.full-tag }}

0 commit comments

Comments
 (0)