From add9758224fdcb71b4490cbd01531aff66e0d038 Mon Sep 17 00:00:00 2001 From: Philipp Wullstein-Kammler Date: Tue, 10 Sep 2024 16:57:13 +0200 Subject: [PATCH] Fix github-release in MAKEFILE The MAKEFILE target `github-release` was pointing to a non-existent file due to a typo in the file name. --- Makefile | 2 +- util/github_release.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 812c641e..7c6516cb 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ remove-dev: github-release: git push - python3 -m util.github-release + python3 -m util.github_release bump: python3 -m util.bump_version_post_release diff --git a/util/github_release.py b/util/github_release.py index 1f3cf38a..cd658d46 100644 --- a/util/github_release.py +++ b/util/github_release.py @@ -31,6 +31,7 @@ from trlc.version import TRLC_VERSION import util.changelog + def main(): username = os.environ.get("GITHUB_USERNAME", None) if username is None: @@ -59,5 +60,6 @@ def main(): r = requests.post(api_endpoint, auth=auth, data=json.dumps(data)) print(r) + if __name__ == "__main__": main()