Skip to content

Commit

Permalink
chore: Link release notes in update notification (#14)
Browse files Browse the repository at this point in the history
* Move release notes to own variable

* Show link in update notification
  • Loading branch information
GeckoEidechse authored Oct 13, 2022
1 parent 3ac693b commit 0ae898d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/create-release-file.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
PATH_TO_LINUX_SIG = f"./artifact/appimage/flight-core_{version_number_stripped_v}_amd64.AppImage.tar.gz.sig"
PATH_TO_WINDOWS_SIG = f"./artifact/msi/FlightCore_{version_number_stripped_v}_x64_en-US.msi.zip.sig"

# Text to show in update notification
RELEASE_TEXT = "See the following link for release notes: https://github.com/GeckoEidechse/FlightCore/releases"

# Read signatures
with open(PATH_TO_LINUX_SIG, "rt") as f:
linux_sig = f.read()
Expand All @@ -22,7 +25,7 @@

release_dict = {
"version": f"{version_number}",
"notes": "Test version",
"notes": f"{RELEASE_TEXT}",
"pub_date": current_datetime_string,
"platforms": {
"linux-x86_64": {
Expand Down

0 comments on commit 0ae898d

Please sign in to comment.