Skip to content

Remove "v" prefix from release tags and titles#7

Merged
nilsandrey merged 2 commits intomainfrom
copilot/update-release-tag-format
Mar 8, 2026
Merged

Remove "v" prefix from release tags and titles#7
nilsandrey merged 2 commits intomainfrom
copilot/update-release-tag-format

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 8, 2026

Description

Remove "v" prefix from release tags and titles, switching version tag format from v#.#.# to #.#.# across the release pipeline and changelog.

Type of Change

  • Major – Breaking change (requires a new major version bump)
  • Minor – New feature, backward-compatible (requires a new minor version bump)
  • Patch – Bug fix or internal improvement, backward-compatible (requires a new patch version bump)

Changes Made

  • .github/workflows/release.yml: Strip v prefix from gh release create tag/title, changelog URL generation, and commit message (4 locations)
  • CHANGELOG.md: Update existing release reference links to match new #.#.# format (2 locations)
- gh release create "v${NEW}" --title "v${NEW}" ...
+ gh release create "${NEW}" --title "${NEW}" ...

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: nilsandrey <3579285+nilsandrey@users.noreply.github.com>
@nilsandrey
Copy link
Copy Markdown
Owner

@copilot Update this PR description to have the expected sections for the Release pipeline used to update changelog and release I think.

Description

Type of Change

  • Major – Breaking change (requires a new major version bump)
  • Minor – New feature, backward-compatible (requires a new minor version bump)
  • Patch – Bug fix or internal improvement, backward-compatible (requires a new patch version bump)

@copilot Update this PR description to have the expected sections for the Release pipeline used to update changelog and release I think.

Description

Type of Change

  • Major – Breaking change (requires a new major version bump)
  • Minor – New feature, backward-compatible (requires a new minor version bump)
  • Patch – Bug fix or internal improvement, backward-compatible (requires a new patch version bump)

Copilot AI changed the title [WIP] Rename releases and tags to new format without 'v' Remove "v" prefix from release tags and titles Mar 8, 2026
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 8, 2026

@copilot Update this PR description to have the expected sections for the Release pipeline used to update changelog and release I think.

Description

...

Updated the PR description with the expected sections including <!--changelog-description-start--> / <!--changelog-description-end--> and <!--changelog-type-start--> / <!--changelog-type-end--> markers, with Patch selected as the bump type.

@nilsandrey nilsandrey marked this pull request as ready for review March 8, 2026 23:31
Copilot AI review requested due to automatic review settings March 8, 2026 23:31
@nilsandrey nilsandrey merged commit 6fa40bb into main Mar 8, 2026
3 checks passed
Copy link
Copy Markdown

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 removes the v prefix from GitHub release tags and titles across the release pipeline, switching from the v#.#.# format to a bare #.#.# semver format. This aligns the release tag format with the manifest.json version field, which is relevant for the Obsidian community plugins marketplace (which auto-detects releases by matching the tag to manifest.json's version). The PR also updates the two existing CHANGELOG reference link URLs to use the new format.

Changes:

  • Updated the release workflow to produce bare semver tags/titles and commit messages (no v prefix).
  • Updated CHANGELOG.md reference links for the two existing releases (1.0.0, 1.0.1) to match the new format.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release.yml Removes v prefix from gh release create tag/title, changelog URL generation, and commit message
CHANGELOG.md Updates existing release reference links from v1.0.x to 1.0.x tag format

Fix release workflow bump detection: correct broken regex (`\[xX\]` → `\[[xX]\]`), use temp file + `awk` markers for reliable multiline PR body handling, replace `echo | grep` with here-strings, and fall back to full-body scan when markers are missing. (PR #6)

[1.0.1]: https://github.com/nilsandrey/TextToolsPlugin/releases/tag/v1.0.1
[1.0.1]: https://github.com/nilsandrey/TextToolsPlugin/releases/tag/1.0.1
Copy link

Copilot AI Mar 8, 2026

Choose a reason for hiding this comment

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

The CHANGELOG.md links for the already-published releases 1.0.0 and 1.0.1 now point to releases/tag/1.0.0 and releases/tag/1.0.1 respectively. However, the release tags for these versions were created by the old workflow using the v prefix (i.e., v1.0.0 and v1.0.1). Since no GitHub releases exist at the bare 1.0.0 / 1.0.1 tag URLs, these two links will be broken for all readers of the CHANGELOG.

To fix this, either:

  1. Manually create tag aliases 1.0.0 and 1.0.1 in the GitHub repository that point to the same commits as v1.0.0 and v1.0.1, or
  2. Keep the existing release reference links pointing to the v-prefixed tags (i.e., revert the CHANGELOG.md changes for these two entries), so that only new releases going forward use the bare semver tag format.

Copilot uses AI. Check for mistakes.
- Full multi-selection support: all commands operate on every active editor selection independently.

[1.0.0]: https://github.com/nilsandrey/TextToolsPlugin/releases/tag/v1.0.0
[1.0.0]: https://github.com/nilsandrey/TextToolsPlugin/releases/tag/1.0.0
Copy link

Copilot AI Mar 8, 2026

Choose a reason for hiding this comment

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

Same issue as the 1.0.1 link above: this link points to releases/tag/1.0.0, but the actual GitHub release for version 1.0.0 was published with the v-prefixed tag v1.0.0. The 1.0.0 tag does not exist, so this link will be broken. The existing release reference links for already-published versions should either continue to use the v-prefixed tag format they were published under, or new non-v tag aliases need to be created for those releases.

Copilot uses AI. Check for mistakes.
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.

3 participants