Skip to content

ci(release): release from the GitHub UI tag, drop the bump job - #34

Merged
nabeelio merged 1 commit into
mainfrom
ci/tag-release-main
Nov 16, 2026
Merged

nabeelio merged 1 commit into
mainfrom
ci/tag-release-main

Conversation

@nabeelio

Copy link
Copy Markdown
Member

Summary

The 3.0.0-beta.1 release made in the GitHub UI published nothing: the workflow only fired on v* tags, so v8/stable.zip and aircraft-latest.json are still 11-12 / 11-13 and 3.x clients do not have #32. One release path now, the UI tag.

 on.push.tags
   'v*'
+  '[0-9]*'                               # 3.0.0-beta.1, what the UI release made

 publish (tag)
-  if ref == refs/tags/v*  → v8/stable.zip, VERSION=${ref#refs/tags/v}
+  if ref == refs/tags/*   → v8/stable.zip, VERSION=${GITHUB_REF_NAME#v}
   aircraft-${VERSION}.json + aircraft-latest.json
   settings-${VERSION}.json + settings-latest.json
   purge
+  attach stable.zip, aircraft.json, settings.json to the GitHub release

-release (workflow_dispatch, bump: patch|minor|major)
-  npm version → commit → tag v<ver> → upload → GH release

3.0.0-beta.1 → aircraft-3.0.0-beta.1.json; v1.0.1 → aircraft-1.0.1.json. artifacts no longer carries the workflow_dispatch guard.

Evidence

  • Before: release 3.0.0-beta.1 at 19:31 → zero workflow runs. configs/aircraft-latest.json Last-Modified 2026-11-13.
    After: YAML parses. Not exercised; to ship fix(pmdg): read FSUIPC light switches as bytes #32 to 3.x, re-create the 3.0.0-beta.1 tag (or cut 3.0.0-beta.2) after this merges.

Merge Danger

Door: two-way

Blast Radius: release-process

Removes the Run-workflow button flow. A UI release on main now moves -latest for every released 3.x client.

Releases are created in the GitHub UI, so the tag that makes is the only
release trigger. Accept bare version tags (3.0.0-beta.1) alongside
v-prefixed ones, derive the config version from the tag with the v
stripped, write v8/stable.zip and the -latest aliases on any tag, and
attach the shipped files to the release. The workflow_dispatch job that
bumped src/package.json and tagged on its own was a second release path
with a different version source; it is gone.
@nabeelio
nabeelio merged commit 6f8351e into main Nov 16, 2026
3 checks passed
@nabeelio
nabeelio deleted the ci/tag-release-main branch November 16, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant