Skip to content

fix: simplify release#21

Merged
bitwise-fast-forward-merge[bot] merged 3 commits into
bitwise-media-group:mainfrom
dmccaffery:feat/simplify-release
Jun 29, 2026
Merged

fix: simplify release#21
bitwise-fast-forward-merge[bot] merged 3 commits into
bitwise-media-group:mainfrom
dmccaffery:feat/simplify-release

Conversation

@dmccaffery

Copy link
Copy Markdown
Collaborator

No description provided.

Add a build-job step that runs git diff --exit-code -- dist after
make build, gated on a committed dist/ existing (hashFiles dist/**), so a
repo that ships a checked-in dist/ (e.g. a JavaScript Action) fails the PR
when the committed artifact drifts from source. This catches staleness
pre-merge instead of after a release is already cut, and is a no-op for
repos that do not commit a dist/.

Drop the npm ci steps from the make and e2e jobs: the Makefile targets
install their own dependencies, so the workflow only sets up the Node
toolchain rather than pre-installing. Keeps the Makefile the single build
boundary.

Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
The publish job rebuilt via make build and ran git diff -- dist only
after release-please had already created the release and tag, so a stale
dist/ could not gate the release -- it just left the vanity tags unmoved.
That verification now lives in ci.yaml (pre-merge), so drop the build and
verify from release entirely.

With nothing left to build or verify, the publish job collapsed to a
pure vanity-tag move. Replace it and the goreleaser job's duplicate tag
step with a single vanity-tags job that needs both release-please and
goreleaser: one implementation for both paths, and -- because it needs
goreleaser -- the tags advance only after GoReleaser has published on the
Go path, never pointing the floating major tag at a half-finished release.
The not-cancelled guard keeps the job eligible when goreleaser is skipped
(non-Go path); the result check runs the move only when goreleaser
succeeded or was skipped, never on failure.

Also drop the now-unused node-version-file input: it only ever fed the
publish job's setup-node, which is gone. No consumer passes it to the
release workflow, so this is not a breaking change in practice.

Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
Reflect the relocation of the committed-dist/ check into ci.yaml, the
removal of release-time build and verify, the single consolidated
vanity-tags job, and that CI no longer runs npm ci (the Makefile installs
its own deps). Drop the stale node-version-file entry from the release
inputs in the catalog.

Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Note

Merging this PR: this repository merges by fast-forward so every
commit keeps its original signature. The GitHub merge button is not used.
Once this PR is approved and all checks pass, a maintainer merges it by
commenting /merge on the PR.

The branch must be up to date with main (rebased and re-signed) to
fast-forward. If /merge reports it is not fast-forwardable, rebase onto
main and comment /merge again.

@dmccaffery

Copy link
Copy Markdown
Collaborator Author

/auto-merge

@bitwise-fast-forward-merge bitwise-fast-forward-merge Bot added the auto-merge Fast-forward this PR once it is approved and all required checks pass label Jun 29, 2026
@bitwise-fast-forward-merge

Copy link
Copy Markdown
Contributor

Note

Auto-merge armed. Once this PR is approved and every required check
passes, it will be fast-forwarded into the base branch automatically,
preserving every commit signature.

Remove the auto-merge label to cancel. If the branch is not
fast-forwardable, rebase onto the base branch and re-sign — CI re-runs
and the merge retries.

@bitwise-fast-forward-merge

Copy link
Copy Markdown
Contributor

Cannot /merge this PR yet:

  • review decision is REVIEW_REQUIRED, need APPROVED
  • checks not passing: analyze / Analyze (actions) (pending), ci / lint (pending)

@bitwise-fast-forward-merge

Copy link
Copy Markdown
Contributor

Cannot /merge this PR yet:

  • checks not passing: CodeQL (pending), analyze / Analyze (actions) (pending)

@bitwise-fast-forward-merge

Copy link
Copy Markdown
Contributor

Cannot /merge this PR yet:

  • checks not passing: analyze / Analyze (actions) (pending)

@bitwise-fast-forward-merge

Copy link
Copy Markdown
Contributor

Fast-forwarded main to 5c254dd9f1f6 — original signature preserved, no re-sign.

@bitwise-fast-forward-merge bitwise-fast-forward-merge Bot merged commit 5c254dd into bitwise-media-group:main Jun 29, 2026
11 checks passed
@dmccaffery dmccaffery deleted the feat/simplify-release branch June 29, 2026 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Fast-forward this PR once it is approved and all required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants