Skip to content

Improve release handling - #190

Merged
rnc merged 1 commit into
project-ncl:mainfrom
rnc:BR1
Nov 25, 2026
Merged

rnc merged 1 commit into
project-ncl:mainfrom
rnc:BR1

Conversation

@rnc

@rnc rnc commented Nov 25, 2026 •

Copy link
Copy Markdown
Member
  • Fix FINAL_REF input evaluation: Switched from ${{ github.event.inputs.ref_to_release }} to ${{ inputs.ref_to_release }} in maven-release.yml so caller inputs are correctly resolved under workflow_call.
  • Branch-aware tag resolution: Updated release workflows (maven-release.yml, gradle-release.yml, sbt-release.yml) to use git tag --sort=-creatordate --merged "${FINAL_REF}" so release notes correctly resolve previous tags on the active branch and ignore tags from other branches.
  • Full history for release checkouts: Replaced shallow clone (fetch-depth: 1) with fetch-depth: 0 in all release workflows so Git can traverse commit history past the shallow boundary to resolve PREVIOUS_TAG.
  • Removed unused fetch_all_commits input: Removed the unused input from release workflows and updated README.md.
  • First-release safety: Conditionally pass --notes-start-tag only when a previous tag exists to prevent errors on initial repo/branch releases.

@rnc
rnc requested a review from patrikk0123 November 25, 2026 10:43
Comment thread .github/workflows/maven-release.yml Resolved
@rnc
rnc merged commit 71986d6 into project-ncl:main Nov 25, 2026
2 checks passed
@rnc
rnc deleted the BR1 branch November 25, 2026 15:42
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.

2 participants