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.
This commit is contained in:
Derek Schuff
2025-01-13 16:23:25 -08:00
committed by GitHub
parent 0e594bc6c7
commit 1f00f5dfe9
2 changed files with 23 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
- name: Run create_release.py
run: python3 scripts/create_release.py ${{ inputs.lto-sha }} ${{ inputs.nonlto-sha }} --action
run: python3 scripts/create_release.py -r ${{ inputs.lto-sha }} -a ${{ inputs.nonlto-sha }} --gh-action
- name: Create PR
id: cpr
uses: peter-evans/create-pull-request@v6