File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,8 @@ jobs:
147147 TARGET_SHA : ${{ steps.beta_meta.outputs.commit_sha }}
148148 run : |
149149 if gh release view "$RELEASE_TAG" >/dev/null 2>&1; then
150+ git tag -f "$RELEASE_TAG" "$TARGET_SHA"
151+ git push --force origin "refs/tags/$RELEASE_TAG"
150152 gh release edit "$RELEASE_TAG" \
151153 --title "$RELEASE_TAG" \
152154 --notes-file "$NOTES_FILE" \
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ jobs:
103103 - name : Checkout
104104 uses : actions/checkout@v6
105105 with :
106- ref : ${{ needs.resolve_context.outputs.tag != ' ' && needs.resolve_context.outputs.tag || github.ref }}
106+ ref : ${{ github.event_name == 'release ' && needs.resolve_context.outputs.tag || github.ref }}
107107 fetch-depth : 0
108108
109109 - name : Setup Node
You can’t perform that action at this time.
0 commit comments