[desktop] Continue iterating of the pre-release process

This commit is contained in:
Manav Rathi 2024-06-17 16:40:35 +05:30
parent 3f9107c497
commit 38cdfcf0a4
No known key found for this signature in database
2 changed files with 8 additions and 6 deletions

View File

@ -17,9 +17,10 @@ on:
#
- cron: "45 2 * * 1-6"
push:
# Run when a tag matching the pattern "v*"" is pushed.
# Run when a tag matching the pattern "vd.d.d"" is pushed. Crucially for
# us, this excludes the "-rc" tags.
tags:
- "v*"
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
release:

View File

@ -59,16 +59,17 @@ subsequent nightly builds.
1. Update `package.json` in the source repo to use version `1.x.x-rc`, and
merge these changes into `main`.
2. In the release repo, rename the title of the existing pre-release that
contains nightly builds to "1.x.x-rc`, then:
2. In the release repo, delete the existing _nightly_ pre-release, then:
```sh
git tag 1.x.x-rc
git push origin 1.x.x-rc
```
3. Start a new run of the workflow (`gh workflow run desktop-release.yml`).
Once the workflow finishes, it'll update the assets attached to the existing
pre-release.
Once the workflow finishes and the 1.x.x-rc pre-release is created, edit its
description to "Nightly builds". Subsequent scheduled nightly builds will update
this pre-release.
## Workflow - Extra pre-releases