Skip to content

chore: align manifests with v0.3.4 tag - #182

Merged
EVWorth merged 1 commit into
mainfrom
fix/datetime-close-tab-statement-at-cursor
Jul 19, 2026
Merged

EVWorth merged 1 commit into
mainfrom
fix/datetime-close-tab-statement-at-cursor

Conversation

@EVWorth

@EVWorth EVWorth commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

Aligns manifest versions with the existing v0.3.4 git tag.

The v0.3.4 tag was created on main (218cd5c) but the manifest files (package.json, package-lock.json, src-tauri/Cargo.toml, src-tauri/tauri.conf.json) still say 0.3.3. This PR brings them up to 0.3.4 so the source-of-truth is consistent.

Diff

 package-lock.json         | 4 ++--
 package.json              | 2 +-
 src-tauri/Cargo.toml      | 2 +-
 src-tauri/tauri.conf.json | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

No code changes. Version-only.

Notes

  • No tag changes. Leaving v0.3.4 tag alone — it correctly points at the release commit.
  • This is a hygiene fix, not a new release.
  • A guardrail (separate PR coming) will prevent this class of mismatch going forward.

Verification

After merge:

  • git tag --points-at main should show v0.3.4
  • All three manifest files should report 0.3.4

Related

  • Follow-up PR: ci/release-tag-check (block release workflow on tag/manifest mismatch)

@EVWorth
EVWorth merged commit 7287e6a into main Jul 19, 2026
11 of 13 checks passed
@EVWorth
EVWorth deleted the fix/datetime-close-tab-statement-at-cursor branch July 19, 2026 01:14
EVWorth added a commit that referenced this pull request Jul 19, 2026
Adds guardrail preventing the release workflow from building when the
pushed tag's version doesn't match the manifest versions.

Also adds scripts/check-release-readiness.sh — local pre-flight check
that validates manifests agree (and optionally match an expected tag,
tree clean, on main).

What it catches:
  - Manifests disagree (package.json ≠ Cargo.toml ≠ tauri.conf.json)
  - Tag pushed without bumping manifests first
  - Manifests bumped but tag never created

Background: v0.3.4 tag was created on main while manifests still said
0.3.3. Fixed in #182 by bumping manifests. This guardrail makes that
class of bug impossible going forward — release.yml's new `validate`
job fails the build before any artifact is produced.

Workflow change:
  - New `validate` job runs first
  - Reads tag from GITHUB_REF_NAME
  - Compares against all 3 manifests
  - Fails if any mismatch, with actionable error messages
  - `build` job now `needs: validate`

Local script (scripts/check-release-readiness.sh):
  - Default: verifies manifests agree
  - --strict: also requires clean tree + on main
  - With version arg: also checks manifests match that version
EVWorth added a commit that referenced this pull request Jul 19, 2026
* ci: block releases on tag/manifest mismatch

Adds guardrail preventing the release workflow from building when the
pushed tag's version doesn't match the manifest versions.

Also adds scripts/check-release-readiness.sh — local pre-flight check
that validates manifests agree (and optionally match an expected tag,
tree clean, on main).

What it catches:
  - Manifests disagree (package.json ≠ Cargo.toml ≠ tauri.conf.json)
  - Tag pushed without bumping manifests first
  - Manifests bumped but tag never created

Background: v0.3.4 tag was created on main while manifests still said
0.3.3. Fixed in #182 by bumping manifests. This guardrail makes that
class of bug impossible going forward — release.yml's new `validate`
job fails the build before any artifact is produced.

Workflow change:
  - New `validate` job runs first
  - Reads tag from GITHUB_REF_NAME
  - Compares against all 3 manifests
  - Fails if any mismatch, with actionable error messages
  - `build` job now `needs: validate`

Local script (scripts/check-release-readiness.sh):
  - Default: verifies manifests agree
  - --strict: also requires clean tree + on main
  - With version arg: also checks manifests match that version

* ci: harden release tag check

- Refactor validate job to invoke scripts/check-release-readiness.sh
  (kills inline bash dup, removes Node dependency from CI)
- Pin actions/checkout to SHA matching build job (supply-chain consistency)
- Add permissions: contents: read to validate job (least-privilege)
- Improve manifest-disagreement error message (make bump increments,
  doesn't reconcile drift — direct user to manual alignment)
- Add trailing newline to scripts/check-release-readiness.sh
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