Skip to content

Commit

Permalink
Fix github-release in MAKEFILE (bmw-software-engineering#102)
Browse files Browse the repository at this point in the history
The MAKEFILE target `github-release` was pointing to a non-existent file
due to a typo in the file name.
  • Loading branch information
phiwuu authored Sep 10, 2024
1 parent 7873520 commit 9ffcc8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions util/github_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -59,5 +60,6 @@ def main():
r = requests.post(api_endpoint, auth=auth, data=json.dumps(data))
print(r)


if __name__ == "__main__":
main()

0 comments on commit 9ffcc8e

Please sign in to comment.