Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix github-release in MAKEFILE #102

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()
Loading