Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Delete old releases
Browse files Browse the repository at this point in the history
  • Loading branch information
DAMcraft committed Dec 18, 2023
1 parent 489e32a commit 5c23289
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/prerelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ def main():

# Delete old release
requests.delete(
f"https://api.github.com/repos/DAMcraft/MeteorServerSeeker/releases/tags/latest",
f"https://api.github.com/repos/DAMcraft/MeteorServerSeeker/releases/latest",
headers={
"Authorization": f"Bearer {GITHUB_TOKEN}",
"Accept": "application/vnd.github.v3+json"
"Authorization": f"Bearer {GITHUB_TOKEN}"
}
)

Expand Down

0 comments on commit 5c23289

Please sign in to comment.