-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
Hi, very useful package. Thanks.
I'm using semantic release with pnpm and jsr.
I would like to customize the tag to <package-name>@<version>, I achieved the result doing:
// .releaserc.mjs
export default {
tagFormat: `${process.env.npm_package_name}@\${version}`,
// ...
}The approach works when using only npm, pnpm or jsr, but when I use more plugins together, I'm getting errors like Error: Failed to replace version in package.json.
I've tried semantic-release --tag-format=$npm_package_name@\\${version} without success: anolilab/semantic-release#152
I've cloned the repo and replaced the hard-coded value, avoiding tagFormat, and everything works fine now.
It would be amazing if we had a way to customize the tagFormat.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels