Skip to content

feat: provide an option to override separator#144

Open
opicaud wants to merge 1 commit into
pmowrer:masterfrom
opicaud:master
Open

feat: provide an option to override separator#144
opicaud wants to merge 1 commit into
pmowrer:masterfrom
opicaud:master

Conversation

@opicaud

@opicaud opicaud commented Dec 26, 2023

Copy link
Copy Markdown

Hello,

I need to be able to override a separator to release golang packages
I've found #103 explaining issues about same behaviour and also about the workaround #33

Well, I don't know if what i am doing is fine and also i don't know how to locally test the change.
Open to feedback and help on that
Thanks

@opicaud

opicaud commented Dec 29, 2023

Copy link
Copy Markdown
Author

@bryanjtc would you give it a try on your version ?

Comment thread src/version-to-git-tag.js

const { name } = await readPkg();
return `${name}-v${version}`;
return `${name}${separator}v${version}`;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
return `${name}${separator}v${version}`;
return `${name}${separator}${version}`;

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