Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[desktop] Continue iterating of the pre-release process

Manav Rathi38cdfcf0a4fc
diff --git a/desktop/.github/workflows/desktop-release.yml b/desktop/.github/workflows/desktop-release.yml
index 40fbbd3f85..e61bb6a7f0 100644
--- a/desktop/.github/workflows/desktop-release.yml
+++ b/desktop/.github/workflows/desktop-release.yml
@@ -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:
diff --git a/desktop/docs/release.md b/desktop/docs/release.md
index 3eda94b330..b9527e6e6e 100644
--- a/desktop/docs/release.md
+++ b/desktop/docs/release.md
@@ -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