Commit Graph

12 Commits

Author SHA1 Message Date
Derek Schuff
1f00f5dfe9 Allow overriding version number in create_release.py (#1512)
This changes the CLI syntax for create_relase.py to be more compatible
with
argparse, but we don't run it often manually anyway.
2025-01-13 16:23:25 -08:00
Christian Clauss
095c488961 Python lint: Use flake8 --extend-ignore instead of --ignore (#1498) 2024-12-06 15:20:31 -08:00
Derek Schuff
f010ca9fdc Add a github actions workflow to create a release PR (#1437)
The action runs the existing create_release.py script in a new mode
created for github actions. Rather than using local git commands, it
uses a public action for creating a PR in the repository. The action can
be triggered from the website or via the CLI tool, for example

gh workflow run create-release.yml -R emscripten-core/emsdk -F
lto-sha=abc123 -F nonlto-sha=234567
2024-08-22 22:14:14 +00:00
Derek Schuff
3391e039d6 Replace update_bazel_workspace.sh with a python script (#1271)
This script is (IMO) more readable, but the real reason for this change is that
it raises an error message when the binary package fails to download. (The shell
script silently generated a bogus hash instead, because the shell's `set -e`
builtin does not affect commands executing inside a $() context.
It seemed just as easy to rewrite the script in Python as to fix that.

This change also updates some outdated filename references.
2023-08-24 10:10:29 -07:00
Sam Clegg
2d3b8a743e Have create_release.py push the new branch automatically (#1255)
Having used this script for a while now I'm not sure there is any
point if leaving this last step as a manual push.
2023-07-10 14:03:32 -07:00
Sam Clegg
95162d561b Fix branch name in scripts/create_release.py 2022-02-24 18:27:32 -08:00
Sam Clegg
68c835fb1a Handle two different revisions in create_release.py (one for asserts) (#977) 2022-01-28 17:12:06 -08:00
Sam Clegg
71868be25e Make sorting of releases in create_release.py stable (#976)
We were only sorting by the X.Y.Z part of the version which meant that,
for example, `1.2.3` and `1.3.4-lto` were being compared equal.
2022-01-28 16:47:13 -08:00
Sam Clegg
6a932246db Use .json extension for emscripten-releases-tags.json. NFC (#870) 2021-08-25 17:21:40 -07:00
Sam Clegg
e2dc11e0db 2.0.24 (#839) 2021-06-10 09:02:19 -07:00
Sam Clegg
09a6eae0aa Add optional hash to scripts/create_release.py (#813) 2021-05-05 11:33:42 -07:00
Sam Clegg
e32410e004 Add create_release.py script (#798) 2021-04-23 10:35:23 -07:00