Skip to content

Commit cacfaaf

Browse files
committed
Removed unnecesary step
1 parent 85bdd8e commit cacfaaf

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -91,28 +91,6 @@ jobs:
9191
draft: false
9292
prerelease: false
9393

94-
- name: Mark release as latest
95-
run: |
96-
TAG=${{ steps.get_version.outputs.tag }}
97-
REPO="${{ github.repository }}"
98-
99-
# Get the release ID
100-
RELEASE_ID=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
101-
"https://api.github.com/repos/${REPO}/releases/tags/${TAG}" | \
102-
grep -o '"id":[0-9]*' | head -1 | cut -d':' -f2)
103-
104-
if [ -n "$RELEASE_ID" ]; then
105-
# Mark as latest
106-
curl -X PATCH \
107-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
108-
-H "Accept: application/vnd.github.v3+json" \
109-
"https://api.github.com/repos/${REPO}/releases/${RELEASE_ID}" \
110-
-d '{"make_latest": true}'
111-
echo "✅ Release marked as latest"
112-
else
113-
echo "⚠️ Could not find release ID for tag ${TAG}"
114-
fi
115-
11694
- name: Wait for GitHub to generate tarball
11795
run: sleep 10
11896

0 commit comments

Comments
 (0)