diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-10-13 18:36:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 18:36:06 +0200 |
commit | 0ae898d6487659473b51e02fb4963cee92e14bcd (patch) | |
tree | 9bd1348ab2414620c47eb60c14393c4cf02aa35d | |
parent | 3ac693b6833d97ff190fe56170980218a98d593a (diff) | |
download | FlightCore-0ae898d6487659473b51e02fb4963cee92e14bcd.tar.gz FlightCore-0ae898d6487659473b51e02fb4963cee92e14bcd.zip |
chore: Link release notes in update notification (#14)
* Move release notes to own variable
* Show link in update notification
-rw-r--r-- | scripts/create-release-file.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/create-release-file.py b/scripts/create-release-file.py index c58de752..84184d8c 100644 --- a/scripts/create-release-file.py +++ b/scripts/create-release-file.py @@ -11,6 +11,9 @@ version_number_stripped_v = version_number.replace("v", "") 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() @@ -22,7 +25,7 @@ current_datetime_string = str(datetime.datetime.utcnow().replace(microsecond=0). release_dict = { "version": f"{version_number}", - "notes": "Test version", + "notes": f"{RELEASE_TEXT}", "pub_date": current_datetime_string, "platforms": { "linux-x86_64": { |