Skip to content

Bump version to 2.4, ensure both release zips build automatically - #211

Merged
sensei-hacker merged 2 commits into
iNavFlight:masterfrom
sensei-hacker:build-2.4-release
Jul 9, 2026
Merged

Bump version to 2.4, ensure both release zips build automatically#211
sensei-hacker merged 2 commits into
iNavFlight:masterfrom
sensei-hacker:build-2.4-release

Conversation

@sensei-hacker

Copy link
Copy Markdown
Member

Summary

The 2.4 release was tagged and published without any assets attached, and the in-app VERSION string still said 2.3.0. Root causes:

  • local VERSION = "2.3.0" in src/SCRIPTS/TELEMETRY/iNav.lua was never bumped before tagging, so the widget itself would report the wrong version even once assets were added.
  • release.yml only runs make dist, which builds the compiled-lua zip. It never ran make dist-lua (the uncompiled source zip needed for EdgeTX 2.11+), so that second asset — present on past releases — had to be built and uploaded by hand every time.
  • The release.yml tag trigger is v* only, but published tags haven't been consistent (v2.2.0, v.2.3.0, and now plain 2.4), so a tag like 2.4 never fires the workflow at all.

Changes

  • Bump VERSION to 2.4 to match the published tag.
  • release.yml / ci.yml: build both make dist and make dist-lua so both zips are produced (and uploaded, for release.yml) automatically.
  • release.yml: also trigger on bare numeric version tags ([0-9]+.[0-9]+*), not just v*.

Verified

Note

The already-published 2.4 release currently points at 4c6af52 (before this version bump) and has no assets. Assets built from this branch will be attached to that release separately; not moving the tag since the release has no assets yet to conflict with.

Test plan

  • CI (ci.yml) run on this PR produces both a compiled and a source zip artifact

release.yml only ran 'make dist', so the compiled-only zip was the
only asset ever auto-attached to a release; the source-lua zip
(needed for EdgeTX 2.11+) had to be built and uploaded by hand.
Also broaden the release tag trigger since published tags haven't
consistently used a 'v' prefix (e.g. 2.4).
@sensei-hacker
sensei-hacker merged commit 28bec31 into iNavFlight:master Jul 9, 2026
2 checks passed
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