Skip to content

ci: release dev merges through Actions#91

Merged
Arbousier1 merged 1 commit into
devfrom
codex/ci-main-release
Jul 16, 2026
Merged

ci: release dev merges through Actions#91
Arbousier1 merged 1 commit into
devfrom
codex/ci-main-release

Conversation

@Arbousier1

Copy link
Copy Markdown
Collaborator

What changed

  • run Build and Test on dev pushes and on PRs targeting dev or main
  • release only after a same-repository dev PR is actually merged into main
  • preflight version, changelog, source SHA, and remote tag collisions before the platform matrix
  • build every platform from the exact merge commit, then create an annotated tag and publish the universal jar
  • queue releases, keep build jobs read-only, and grant write permission only to the final release job
  • keep routine Dependabot updates targeting dev
  • prepare the next release as 1.5.0 without moving the existing v1.4.1 tag

Why

dev remains the integration branch while main becomes the default release branch. The old tag-driven workflow assumed a tag already existed and tried to move main afterward, so it could not safely publish from a dev to main merge.

Validation

  • git diff --check
  • two independent read-only reviews of trigger semantics, tag provenance, permissions, concurrency, and first-release ordering
  • no local Gradle build or tests, per project policy; GitHub Actions is the validation gate

@Arbousier1
Arbousier1 merged commit 88998ab into dev Jul 16, 2026
5 of 11 checks passed
@Arbousier1
Arbousier1 deleted the codex/ci-main-release branch July 16, 2026 16:55
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