Skip to content

fix(latest): add make_latest property to the GH release PATCH request during publish#1169

Merged
travi merged 2 commits intosemantic-release:masterfrom
viceice:patch-1
Feb 12, 2026
Merged

fix(latest): add make_latest property to the GH release PATCH request during publish#1169
travi merged 2 commits intosemantic-release:masterfrom
viceice:patch-1

Conversation

@viceice
Copy link
Copy Markdown
Contributor

@viceice viceice commented Feb 11, 2026

It's required to not mark as latest when removing draft status after assets upload

can try to create a test case later today or tomorrow.

… during publish

It's required to not mark as latest when removing draft status after assets upload
@viceice
Copy link
Copy Markdown
Contributor Author

viceice commented Feb 12, 2026

@travi I've now added tests 🙏

@viceice
Copy link
Copy Markdown
Contributor Author

viceice commented Feb 12, 2026

@pfarnach WDYT?

Copy link
Copy Markdown
Member

@travi travi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, @viceice!

@travi travi enabled auto-merge (squash) February 12, 2026 18:23
@travi travi merged commit f516337 into semantic-release:master Feb 12, 2026
6 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 12.0.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@viceice viceice deleted the patch-1 branch February 12, 2026 18:30
oliverlaz added a commit to GetStream/stream-chat-react that referenced this pull request May 5, 2026
## Summary

Bumps `@semantic-release/github` from 12.0.2 → 12.0.6 (and
`semantic-release` 25.0.2 → 25.0.3) on master.

v12.0.6 includes
[semantic-release/github#1169](semantic-release/github#1169),
which derives the GitHub release's `make_latest` flag from
semantic-release's branch classification:

- **main release branch** (`master` here) → `make_latest: "true"`
(unchanged — keeps the **Latest** badge)
- **maintenance branch** (e.g. `release-v13` on the v13 line) →
`make_latest: "false"`

Master's behavior does **not** change with this bump — it's already the
main release branch and will continue claiming the Latest badge. This PR
exists for parity with the v13 line (#3169) and to set a sensible floor
in case a future maintenance branch is added to `.releaserc.json`.
oliverlaz added a commit to GetStream/stream-chat-react that referenced this pull request May 5, 2026
## Summary

Bumps `@semantic-release/github` from 12.0.2 → 12.0.6 (and
`semantic-release` 25.0.2 → 25.0.3) so that v13 hotfixes published from
`release-v13` stop overwriting the **Latest** badge on the public GitHub
release pages.

v12.0.6 includes
[semantic-release/github#1169](semantic-release/github#1169),
which sends `make_latest` on the GitHub release based on the branch
type:

- **main release branch** (`master` / v14 line) → `make_latest: "true"`
(unchanged behavior — keeps the Latest badge)
- **maintenance branch** (`release-v13`, configured with `range:
"13.x"`) → `make_latest: "false"` (no longer claims the Latest badge)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option to not mark maintenance releases as latest

2 participants