aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-10-13 18:36:06 +0200
committerGitHub <noreply@github.com>2022-10-13 18:36:06 +0200
commit0ae898d6487659473b51e02fb4963cee92e14bcd (patch)
tree9bd1348ab2414620c47eb60c14393c4cf02aa35d /scripts
parent3ac693b6833d97ff190fe56170980218a98d593a (diff)
downloadFlightCore-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
Diffstat (limited to 'scripts')
-rw-r--r--scripts/create-release-file.py5
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": {