Skip to content

6.9.0 release latest#1338

Merged
MancunianSam merged 12 commits into
mainfrom
6.9.0-release-latest
May 21, 2025
Merged

6.9.0 release latest#1338
MancunianSam merged 12 commits into
mainfrom
6.9.0-release-latest

Conversation

@MancunianSam

Copy link
Copy Markdown
Collaborator
  • Release 6.9.0
  • Only run gpg signing on release
  • Profile wrangling
  • Update branch name

@techncl techncl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just some minor comments.

def fetch_merged_prs():
url = f"{API_BASE}/repos/{REPO}/pulls"
params = {"state": "closed", "base": "develop", "per_page": 100}
r = requests.get(url, headers=HEADERS, params=params)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe prs?


def get_release():
url = f"{API_BASE}/repos/{REPO}/releases/tags/{RELEASE_TAG}"
r = requests.get(url, headers=HEADERS)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe release?


update_release_notes(release_id, body)

print("📦 Deleting existing assets...")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the bin emoji that you used earlier/a bin emoji might be better than the box one?

asset_ids = [a["id"] for a in release.get("assets", [])]
delete_assets(asset_ids)

print("📦 Uploading new assets...")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the up arrow emoji that you used earlier/a bin emoji might be better than the box one?


print("📦 Uploading new assets...")
windows_jar = next(Path("droid-binary/target").glob("*win64-with-jre.zip"))
generic_jar = next(Path("droid-binary/target").glob("*bin.zip"))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a print here that lets us know that the Windows jar is uploading, like print("Uploading Windows Jar...")

print("📦 Uploading new assets...")
windows_jar = next(Path("droid-binary/target").glob("*win64-with-jre.zip"))
generic_jar = next(Path("droid-binary/target").glob("*bin.zip"))
upload_asset(upload_url, windows_jar)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a print here that lets us know that the generic jar is uploading, like print("Uploading Generic Jar...")

sys.exit(1)

if len(sys.argv) != 2:
print("Usage: python create_github_release_raw.py <release_version>")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a clearer error message we could prepend to this? Like "Error - Expected 2 arguments..."

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fairly standard if you mess up a CLI tool. You get how you were supposed to do it. I'll leave it.

Comment thread droid-binary/bin/ChangeLog Outdated
@@ -1,3 +1,15 @@
Version 6.9.0
#1166 Improvement: Add JSON output

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These change items are missing a * in front of them like the others

@techncl techncl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@MancunianSam MancunianSam merged commit 513e9b0 into main May 21, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants