Skip to content

chore(release): fix duplicated version prefix in release title#8359

Merged
jdx merged 1 commit intomainfrom
fix/release-title-duplication
Feb 26, 2026
Merged

chore(release): fix duplicated version prefix in release title#8359
jdx merged 1 commit intomainfrom
fix/release-title-duplication

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Feb 26, 2026

Summary

  • Release titles were getting doubled version prefixes like v2026.2.21: v2026.2.21: Bug fix roundup...
  • The communique tool already includes the version in its generated title, but the workflow also prepended $VERSION: on top of it
  • Now strips any existing $VERSION: prefix from communique's output before prepending, so the title is always clean

Test plan

  • Next release should have a clean title like v2026.x.x: Description here

🤖 Generated with Claude Code


Note

Low Risk
Low risk: a small GitHub Actions workflow tweak that only affects how the release title string is constructed during tag releases.

Overview
Fixes the release workflow’s generated RELEASE_TITLE to avoid double-prepending the version when communique already includes $VERSION: in its first-line title.

The workflow now parses the first line from /tmp/release-notes.txt, strips markdown and any leading $VERSION: , then prepends $VERSION: exactly once before creating the GitHub release.

Written by Cursor Bugbot for commit a261d28. This will update automatically on new commits. Configure here.

communique already includes the version in its title output (e.g.,
"v2026.2.21: Bug fix roundup..."), but the release workflow also
prepends "$VERSION: ", resulting in doubled titles like
"v2026.2.21: v2026.2.21: Bug fix roundup...".

Strip any existing version prefix from communique's title before
prepending it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gemini-code-assist
Copy link
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@greptile-apps
Copy link

greptile-apps bot commented Feb 26, 2026

Greptile Summary

Fixes the double version prefix bug in GitHub release titles by stripping any existing $VERSION: prefix from communique's output before prepending it once.

  • Changed from directly prepending $VERSION: to first stripping any existing prefix, then prepending
  • Release titles will now be clean like v2026.2.21: Bug fix roundup instead of v2026.2.21: v2026.2.21: Bug fix roundup
  • The fix is minimal and only affects the title construction logic

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The change is a simple string manipulation fix in a GitHub Actions workflow that only affects release title formatting. The logic correctly strips existing version prefixes before prepending, preventing duplication without changing any functional behavior
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/release.yml Strips existing version prefix before prepending to prevent duplication in release titles

Last reviewed commit: a261d28

@github-actions
Copy link

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.21 x -- echo 26.2 ± 0.8 24.8 35.2 1.00
mise x -- echo 26.3 ± 1.7 24.6 59.2 1.00 ± 0.07

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.21 env 25.4 ± 0.6 24.2 27.6 1.00
mise env 25.7 ± 1.5 24.2 56.4 1.01 ± 0.06

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.21 hook-env 26.0 ± 0.6 24.7 28.5 1.00
mise hook-env 26.2 ± 0.7 24.9 30.4 1.01 ± 0.03

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.21 ls 24.3 ± 1.0 23.2 42.1 1.00
mise ls 24.4 ± 0.6 23.1 28.4 1.00 ± 0.05

xtasks/test/perf

Command mise-2026.2.21 mise Variance
install (cached) 163ms 159ms +2%
ls (cached) 92ms 91ms +1%
bin-paths (cached) 96ms 94ms +2%
task-ls (cached) 859ms 846ms +1%

@jdx jdx merged commit 6518398 into main Feb 26, 2026
38 checks passed
@jdx jdx deleted the fix/release-title-duplication branch February 26, 2026 11:51
mise-en-dev added a commit that referenced this pull request Feb 27, 2026
### 🚀 Features

- add `--outdated` flag to `mise plugins ls` by @jdx in
[#8360](#8360)

### 🐛 Bug Fixes

- **(github)** resolve rename_exe search dir for archives with bin/
subdirectory by @jdx in [#8358](#8358)
- **(install)** skip tools=true env directives during backend
installation by @jdx in [#8356](#8356)
- **(ruby)** resolve correct Windows checksums in lockfile by @jdx in
[#8357](#8357)

### 📦 Registry

- switch terradozer backend to github fork by @chenrui333 in
[#8365](#8365)

### Chore

- **(release)** fix duplicated version prefix in release title by @jdx
in [#8359](#8359)

### New Contributors

- @chenrui333 made their first contribution in
[#8365](#8365)

## 📦 Aqua Registry Updates

#### New Packages (1)

- [`huseyinbabal/taws`](https://github.com/huseyinbabal/taws)

#### Updated Packages (2)

- [`block/goose`](https://github.com/block/goose)
- [`pre-commit/pre-commit`](https://github.com/pre-commit/pre-commit)
risu729 pushed a commit to risu729/mise that referenced this pull request Feb 27, 2026
)

## Summary
- Release titles were getting doubled version prefixes like `v2026.2.21:
v2026.2.21: Bug fix roundup...`
- The `communique` tool already includes the version in its generated
title, but the workflow also prepended `$VERSION:` on top of it
- Now strips any existing `$VERSION: ` prefix from communique's output
before prepending, so the title is always clean

## Test plan
- [ ] Next release should have a clean title like `v2026.x.x:
Description here`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk: a small GitHub Actions workflow tweak that only affects how
the release title string is constructed during tag releases.
> 
> **Overview**
> Fixes the release workflow’s generated `RELEASE_TITLE` to avoid
double-prepending the version when `communique` already includes
`$VERSION:` in its first-line title.
> 
> The workflow now parses the first line from `/tmp/release-notes.txt`,
strips markdown and any leading `$VERSION: `, then prepends `$VERSION:`
exactly once before creating the GitHub release.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
a261d28. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
risu729 pushed a commit to risu729/mise that referenced this pull request Feb 27, 2026
### 🚀 Features

- add `--outdated` flag to `mise plugins ls` by @jdx in
[jdx#8360](jdx#8360)

### 🐛 Bug Fixes

- **(github)** resolve rename_exe search dir for archives with bin/
subdirectory by @jdx in [jdx#8358](jdx#8358)
- **(install)** skip tools=true env directives during backend
installation by @jdx in [jdx#8356](jdx#8356)
- **(ruby)** resolve correct Windows checksums in lockfile by @jdx in
[jdx#8357](jdx#8357)

### 📦 Registry

- switch terradozer backend to github fork by @chenrui333 in
[jdx#8365](jdx#8365)

### Chore

- **(release)** fix duplicated version prefix in release title by @jdx
in [jdx#8359](jdx#8359)

### New Contributors

- @chenrui333 made their first contribution in
[jdx#8365](jdx#8365)

## 📦 Aqua Registry Updates

#### New Packages (1)

- [`huseyinbabal/taws`](https://github.com/huseyinbabal/taws)

#### Updated Packages (2)

- [`block/goose`](https://github.com/block/goose)
- [`pre-commit/pre-commit`](https://github.com/pre-commit/pre-commit)
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