You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(release): update release process to reflect workflow_dispatch deploy trigger
- Replace outdated 'release: published' trigger description with the
actual mechanism (release.yml calls gh workflow run after creating
the GitHub Release)
- Add explanation of why workflow_dispatch is used instead of
release: published (GITHUB_TOKEN cascade limitation)
- Note that deploy workflows can be triggered manually from the Actions
tab for hotfix deployments
https://claude.ai/code/session_01JDVdCKNUcJfnKCaZZipMWW
1. Reads the version from `pubspec.yaml` (source of truth)
43
43
2. Creates and pushes the git tag (e.g. `v2026.5.5`)
44
-
3. Creates a GitHub Release from that tag with the `CHANGELOG.md` body
45
-
46
-
Creating the GitHub Release triggers the deployment workflows (via `on: release: published`):
44
+
3. Creates a GitHub Release with the changelog for that version
45
+
4. Explicitly triggers the deployment workflows via `workflow_dispatch`
47
46
48
47
| Workflow | Action |
49
48
|----------|--------|
@@ -52,6 +51,8 @@ Creating the GitHub Release triggers the deployment workflows (via `on: release:
52
51
53
52
Monitor progress in the [Actions tab](https://github.com/richardthe3rd/cambridge-beer-festival-app/actions).
54
53
54
+
> **Why `workflow_dispatch` and not `release: published`?** GitHub does not fire workflow triggers in response to events created by `GITHUB_TOKEN`. Using `gh workflow run` sidesteps this limitation without requiring a PAT.
55
+
55
56
## What goes into a release
56
57
57
58
git-cliff reads conventional commit messages since the last tag. The following types are included:
After merging to `main`, the release PR will pick up the fix in the next run and compute the next patch version automatically.
82
83
84
+
To deploy a hotfix without waiting for the release PR flow, you can trigger the deployment workflows manually from the [Actions tab](https://github.com/richardthe3rd/cambridge-beer-festival-app/actions) — select `Release Web to Cloudflare Pages` or `Release Android` and provide the version tag.
0 commit comments