Skip to content

Fix release workflow secrets guard; bump version to 0.2.0 - #73

Open
cognitivegears wants to merge 1 commit into
mainfrom
fix/release-workflow-secrets
Open

Fix release workflow secrets guard; bump version to 0.2.0#73
cognitivegears wants to merge 1 commit into
mainfrom
fix/release-workflow-secrets

Conversation

@cognitivegears

Copy link
Copy Markdown
Owner

Summary

  • The secrets context is not allowed in step-level if: expressions; the guards added in 7b30a2a made GitHub reject release.yml at plan time, so the v0.2.0 tag push produced a 0-second workflow-file failure — no jar upload and no version bump.
  • Hoists the GPG-secret presence check into a job-level env var (HAS_SIGNING_KEY), where reading secrets is allowed, and guards the two publish steps on it.
  • Bumps pom.xml to 0.2.0 — the commit the workflow would have pushed had it run (the tag event has already fired).

The v0.2.0 release itself is already complete: notes published and both jars (built from this branch at version 0.2.0, CLI smoke-tested) uploaded manually. This PR just makes the next tagged release work end to end.

🤖 Generated with Claude Code

The secrets context is not allowed in step-level if: expressions — the
guards added in 7b30a2a made GitHub reject the whole workflow file at
plan time, so the v0.2.0 tag produced no release run (no jar upload, no
version bump). The presence check is hoisted into a job-level env var,
which IS allowed to read secrets.

The version bump the workflow would have pushed is included here since
the v0.2.0 tag event has already fired.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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