Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown branch name appended to release tag and tilte #92

Closed
gavin-traba opened this issue Dec 7, 2023 · 2 comments
Closed

Unknown branch name appended to release tag and tilte #92

gavin-traba opened this issue Dec 7, 2023 · 2 comments
Labels

Comments

@gavin-traba
Copy link

When generating a release, the tag is made as ${PROJECT_NAME}-v${version}-${branchName} which is not in my configuration.

Current Config:

{
  ...
  "branches": ["main", { "name": "rc-*", "channel": "rc", "prerelease": true }],
  "tagFormat": "${PROJECT_NAME}-v${version}"
}

Screenshot 2023-12-07 at 11 56 09 AM

@TheUnderScorer
Copy link
Owner

Hey @gavin-traba!

It's part of semantic-release behavior. The reason here is the "name": "rc-*" configuration. Pre-release tags are always suffixed with the name, and since it's a wildcard in your case, anything that goes there will be used as part of the tag.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.

@github-actions github-actions bot added the Stale label Jan 28, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants