Skip to content

Commit 32dc3b4

Browse files
committed
[release checklist] Add gh CLI commands to the stable release checklist
Each workflow_dispatch step only described the UI. The CLI forms carry the non-default inputs explicitly: Build Installers defaults pre-release to true, and the pypi and chocolatey publish flags default to false.
1 parent 3822672 commit 32dc3b4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎dev-docs/checklist-make-a-new-stable-quarto-release.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,21 @@
44
- Actions -> Parallel Smokes Tests -> Run Workflow ->
55
- Select the current stable branch in the "Use workflow from... v1.x" dropdown
66
- [ ] Click "Run Workflow"
7+
- Or from the CLI: `gh workflow run test-smokes-parallel.yml --repo quarto-dev/quarto-cli --ref v1.x`
78
- [ ] create new stable installers
89
- Click Actions -> Build Installers -> "Run Workflow" Dropdown Menu
910
- Select the current stable branch in the "Use workflow from..." dropdown
1011
- Uncheck "Pre-release" (or ensure it's unchecked)
1112
- Check "Publish release" (or ensure it's checked)
1213
- [ ] Click "Run Workflow"
14+
- Or from the CLI (both flags default to `true`, so pass `pre-release=false` explicitly):
15+
`gh workflow run create-release.yml --repo quarto-dev/quarto-cli --ref v1.x -f publish-release=true -f pre-release=false -f os=all`
1316
- Take a sip of tea ☕, bask in the glory of automation.
1417
- [ ] Trigger update for quarto.org website once new stable release is available
1518
- Go to quarto-dev/quarto-web repo in [Update Downloads](https://github.com/quarto-dev/quarto-web/actions/workflows/update-downloads.yml) workflow
1619
- Run the workflow with 'Run Workflow' button on `main` branch.
1720
This will check the new release, and update the files in quarto-web to update the Download page.
21+
- Or from the CLI: `gh workflow run update-downloads.yml --repo quarto-dev/quarto-web --ref main`
1822
- While this automation is running, update the release on pypi below.
1923
- [ ] update release on pypi repo
2024
- Goto the [quarto-cli-pypi repo](https://github.com/quarto-dev/quarto-cli-pypi)
@@ -31,10 +35,13 @@
3135
- Published to: <https://test.pypi.org/project/quarto-cli/>
3236
- **Publishing Production**: You may elect to publish to production pypyi by checking the `Production Release` option
3337
- Published to: <https://pypi.org/project/quarto-cli/>
38+
- Or from the CLI (`publish-release` is the `Production Release` option, default `false`):
39+
`gh workflow run publish.yml --repo quarto-dev/quarto-cli-pypi --ref main -f publish-release=true`
3440
- Take a sip of tea ☕, bask in the glory of automation.
3541
- [ ] push release to chocolatey (Only once quarto.org download page is updated with the new release)
3642
- Got to <https://github.com/quarto-dev/quarto-release-bundles/actions/workflows/build-and-publish-choco.yaml>
3743
- In the "Build Choco package & Publish" workflow, click "Run Workflow" and be sure to check the "Whether to publish or not the package on chocolatey" checkbox
44+
- Or from the CLI (`publish` defaults to `false`; the version is read from quarto.org): `gh workflow run build-and-publish-choco.yaml --repo quarto-dev/quarto-release-bundles --ref main -f publish=true`
3845
- Wait for @cderv to receive email confirmation, no action needed.
3946
- [ ] Update the stable changelog `news/changelog-1.x.md` by moving entries from `# v1.(x+1) backports` > `## In this release` down to `## In previous releases` — they've now shipped in this patch. Commit and push the change to the stable `v1.x` branch, using `[release checklist]` in the commit message to make it easier to spot if a new release is needed next month.
4047

0 commit comments

Comments
 (0)