Skip to content

fix(release): strip markdown heading prefix from communique release title#8303

Merged
jdx merged 1 commit intomainfrom
fix/release-title-heading
Feb 22, 2026
Merged

fix(release): strip markdown heading prefix from communique release title#8303
jdx merged 1 commit intomainfrom
fix/release-title-heading

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Feb 22, 2026

Summary

  • communique generate outputs the first line as a markdown heading (e.g. # v2026.2.19: Fixes for...)
  • head -1 captured the # literally, making the GitHub release title v2026.2.19: # v2026.2.19: Fixes for...
  • Fix: pipe through sed 's/^#* *//' to strip the heading prefix before setting RELEASE_TITLE

This caused the malformed title visible on https://github.com/jdx/mise/releases/tag/v2026.2.19.

🤖 Generated with Claude Code


Note

Low Risk
Single-line change to CI release-title formatting; minimal blast radius and no production code impact.

Overview
Fixes GitHub release title generation in the release workflow by stripping leading Markdown heading characters from the first line of communique generate output before exporting RELEASE_TITLE.

This prevents duplicated/malformed titles when communique emits a # ... heading on the first line.

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

…itle

communique generate outputs the first line as a markdown heading (e.g.
`# v2026.2.19: Fixes for...`), causing the release title to include
the literal `#` character. Strip it with sed before setting RELEASE_TITLE.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 22, 2026 18:08
@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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug in the GitHub release workflow where communique generate outputs a markdown heading (e.g., # v2026.2.19: Fixes for...) as the first line, which was being captured literally with the # symbol, resulting in malformed GitHub release titles like v2026.2.19: # v2026.2.19: Fixes for....

Changes:

  • Added sed 's/^#* *//' to strip markdown heading prefix from the first line of communique output before setting the release title

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jdx jdx merged commit 50b32d3 into main Feb 22, 2026
39 of 40 checks passed
@jdx jdx deleted the fix/release-title-heading branch February 22, 2026 18:15
@github-actions
Copy link

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.19 x -- echo 24.2 ± 0.7 22.5 26.5 1.00
mise x -- echo 24.8 ± 0.9 23.0 29.8 1.02 ± 0.05

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.19 env 23.5 ± 0.8 22.1 29.2 1.00
mise env 23.6 ± 0.9 22.0 37.1 1.01 ± 0.05

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.19 hook-env 23.8 ± 0.6 22.5 25.4 1.00
mise hook-env 24.1 ± 0.7 22.7 25.9 1.02 ± 0.04

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.19 ls 21.5 ± 0.6 20.0 24.6 1.00
mise ls 22.1 ± 1.1 20.1 36.4 1.03 ± 0.06

xtasks/test/perf

Command mise-2026.2.19 mise Variance
install (cached) 126ms 128ms -1%
ls (cached) 78ms 77ms +1%
bin-paths (cached) 82ms 83ms -1%
task-ls (cached) 2742ms ✅ 816ms +236%

✅ Performance improvement: task-ls cached is 236%

mise-en-dev added a commit that referenced this pull request Feb 25, 2026
### 🚀 Features

- **(conda)** replace custom backend with rattler crates by @jdx in
[#8325](#8325)
- **(task)** enforce per-task timeout configuration by @tvararu in
[#8250](#8250)
- **(vsix)** added vsix archives to http backend by @sosumappu in
[#8306](#8306)
- add core dotnet plugin for .NET SDK management by @jdx in
[#8326](#8326)

### 🐛 Bug Fixes

- **(conda)** preserve conda_packages on locked install and fix temp
file race by @jdx in [#8335](#8335)
- **(conda)** deduplicate repodata records to fix solver error on Linux
by @jdx in [#8337](#8337)
- **(env)** include watch_files in fast-path early exit check by @jdx in
[#8317](#8317)
- **(env)** clear fish completions when setting/unsetting shell aliases
by @jdx in [#8324](#8324)
- **(lockfile)** prevent lockfile writes when --locked is set by @jdx in
[#8308](#8308)
- **(lockfile)** prune orphan tool entries on mise lock by @mackwic in
[#8265](#8265)
- **(lockfile)** error on contradictory locked=true + lockfile=false
config by @jdx in [#8329](#8329)
- **(regal)** Update package location by @charlieegan3 in
[#8315](#8315)
- **(release)** strip markdown heading prefix from communique release
title by @jdx in [#8303](#8303)
- **(schema)** enforce additionalProperties constraint for env by
@adamliang0 in [#8328](#8328)

### 📚 Documentation

- Remove incorrect oh-my-zsh plugin ordering comment by @bvosk in
[#8323](#8323)
- require AI disclosure on GitHub comments by @jdx in
[#8330](#8330)

### 📦 Registry

- add `oxfmt` by @taoufik07 in
[#8316](#8316)

### New Contributors

- @adamliang0 made their first contribution in
[#8328](#8328)
- @tvararu made their first contribution in
[#8250](#8250)
- @bvosk made their first contribution in
[#8323](#8323)
- @taoufik07 made their first contribution in
[#8316](#8316)
- @charlieegan3 made their first contribution in
[#8315](#8315)
- @sosumappu made their first contribution in
[#8306](#8306)

## 📦 Aqua Registry Updates

#### New Packages (3)

- [`Tyrrrz/FFmpegBin`](https://github.com/Tyrrrz/FFmpegBin)
- [`elixir-lang/expert`](https://github.com/elixir-lang/expert)
- [`erikjuhani/basalt`](https://github.com/erikjuhani/basalt)

#### Updated Packages (5)

- [`caarlos0/fork-cleaner`](https://github.com/caarlos0/fork-cleaner)
-
[`firecow/gitlab-ci-local`](https://github.com/firecow/gitlab-ci-local)
- [`jackchuka/mdschema`](https://github.com/jackchuka/mdschema)
-
[`kunobi-ninja/kunobi-releases`](https://github.com/kunobi-ninja/kunobi-releases)
- [`peco/peco`](https://github.com/peco/peco)
risu729 pushed a commit to risu729/mise that referenced this pull request Feb 27, 2026
…itle (jdx#8303)

## Summary

- `communique generate` outputs the first line as a markdown heading
(e.g. `# v2026.2.19: Fixes for...`)
- `head -1` captured the `#` literally, making the GitHub release title
`v2026.2.19: # v2026.2.19: Fixes for...`
- Fix: pipe through `sed 's/^#* *//'` to strip the heading prefix before
setting `RELEASE_TITLE`

This caused the malformed title visible on
https://github.com/jdx/mise/releases/tag/v2026.2.19.

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

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Single-line change to CI release-title formatting; minimal blast
radius and no production code impact.
> 
> **Overview**
> Fixes GitHub release title generation in the `release` workflow by
stripping leading Markdown heading characters from the first line of
`communique generate` output before exporting `RELEASE_TITLE`.
> 
> This prevents duplicated/malformed titles when `communique` emits a `#
...` heading on the first line.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
bd7ca9e. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

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

- **(conda)** replace custom backend with rattler crates by @jdx in
[jdx#8325](jdx#8325)
- **(task)** enforce per-task timeout configuration by @tvararu in
[jdx#8250](jdx#8250)
- **(vsix)** added vsix archives to http backend by @sosumappu in
[jdx#8306](jdx#8306)
- add core dotnet plugin for .NET SDK management by @jdx in
[jdx#8326](jdx#8326)

### 🐛 Bug Fixes

- **(conda)** preserve conda_packages on locked install and fix temp
file race by @jdx in [jdx#8335](jdx#8335)
- **(conda)** deduplicate repodata records to fix solver error on Linux
by @jdx in [jdx#8337](jdx#8337)
- **(env)** include watch_files in fast-path early exit check by @jdx in
[jdx#8317](jdx#8317)
- **(env)** clear fish completions when setting/unsetting shell aliases
by @jdx in [jdx#8324](jdx#8324)
- **(lockfile)** prevent lockfile writes when --locked is set by @jdx in
[jdx#8308](jdx#8308)
- **(lockfile)** prune orphan tool entries on mise lock by @mackwic in
[jdx#8265](jdx#8265)
- **(lockfile)** error on contradictory locked=true + lockfile=false
config by @jdx in [jdx#8329](jdx#8329)
- **(regal)** Update package location by @charlieegan3 in
[jdx#8315](jdx#8315)
- **(release)** strip markdown heading prefix from communique release
title by @jdx in [jdx#8303](jdx#8303)
- **(schema)** enforce additionalProperties constraint for env by
@adamliang0 in [jdx#8328](jdx#8328)

### 📚 Documentation

- Remove incorrect oh-my-zsh plugin ordering comment by @bvosk in
[jdx#8323](jdx#8323)
- require AI disclosure on GitHub comments by @jdx in
[jdx#8330](jdx#8330)

### 📦 Registry

- add `oxfmt` by @taoufik07 in
[jdx#8316](jdx#8316)

### New Contributors

- @adamliang0 made their first contribution in
[jdx#8328](jdx#8328)
- @tvararu made their first contribution in
[jdx#8250](jdx#8250)
- @bvosk made their first contribution in
[jdx#8323](jdx#8323)
- @taoufik07 made their first contribution in
[jdx#8316](jdx#8316)
- @charlieegan3 made their first contribution in
[jdx#8315](jdx#8315)
- @sosumappu made their first contribution in
[jdx#8306](jdx#8306)

## 📦 Aqua Registry Updates

#### New Packages (3)

- [`Tyrrrz/FFmpegBin`](https://github.com/Tyrrrz/FFmpegBin)
- [`elixir-lang/expert`](https://github.com/elixir-lang/expert)
- [`erikjuhani/basalt`](https://github.com/erikjuhani/basalt)

#### Updated Packages (5)

- [`caarlos0/fork-cleaner`](https://github.com/caarlos0/fork-cleaner)
-
[`firecow/gitlab-ci-local`](https://github.com/firecow/gitlab-ci-local)
- [`jackchuka/mdschema`](https://github.com/jackchuka/mdschema)
-
[`kunobi-ninja/kunobi-releases`](https://github.com/kunobi-ninja/kunobi-releases)
- [`peco/peco`](https://github.com/peco/peco)
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