Skip to content

Commit 0738846

Browse files
committed
ci: retract two previous changes
1 parent 43f05f1 commit 0738846

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -192,22 +192,6 @@ jobs:
192192
echo "$ASSETS" >> $GITHUB_ENV
193193
echo "EOF" >> $GITHUB_ENV
194194
195-
- name: Create tag via API
196-
env:
197-
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
198-
run: |
199-
# Get the current commit SHA
200-
COMMIT_SHA=$(git rev-parse HEAD)
201-
202-
# Create tag via GitHub API (bypasses push restrictions)
203-
gh api \
204-
--method POST \
205-
-H "Accept: application/vnd.github+json" \
206-
-H "X-GitHub-Api-Version: 2022-11-28" \
207-
/repos/${{ github.repository }}/git/refs \
208-
-f "ref=refs/tags/v${{ env.VERSION }}" \
209-
-f "sha=${COMMIT_SHA}" || echo "Tag may already exist"
210-
211195
- name: Create GitHub Release and Upload Assets
212196
uses: softprops/action-gh-release@v2
213197
with:

0 commit comments

Comments
 (0)