Skip to content

fix: make manual release fail on no-op publish#6

Merged
f0rr0 merged 1 commit into
mainfrom
f0rr0/fix-manual-release-noop
Apr 26, 2026
Merged

fix: make manual release fail on no-op publish#6
f0rr0 merged 1 commit into
mainfrom
f0rr0/fix-manual-release-noop

Conversation

@f0rr0
Copy link
Copy Markdown
Owner

@f0rr0 f0rr0 commented Apr 26, 2026

Summary

  • allow the manual release workflow to publish the current unpublished crate version instead of requiring the latest main commit to come from a release-plz PR
  • fail publish and publish-dry-run runs when release-plz returns no created releases
  • document why manual release uses release_always = true

Verification

  • taplo fmt --check release-plz.toml Cargo.toml
  • actionlint .github/workflows/release.yml .github/workflows/ci.yml .github/workflows/conventional-commits.yml
  • git diff --check

Context

The green publish run did not publish because release-plz logged skipping release: current commit is not from a release PR and returned {"releases":[]}. Since this workflow is manually triggered from main, it should publish an unpublished manifest version and fail if that does not happen.

@f0rr0 f0rr0 merged commit eaa4765 into main Apr 26, 2026
4 checks passed
@f0rr0 f0rr0 deleted the f0rr0/fix-manual-release-noop branch April 26, 2026 09:44
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