Skip to content

Conversation

@aslakhellesoy
Copy link

Some projects use a v prefix in front of tags, as illustrated by the older tags in this changelog.

The KAC spec does not mandate a particular format for git tags, but the example in the spec uses a v prefix. It seems we should allow some flexibility around this, to cater for different practices.

This PR adds a new --tag-format option where the user can specify a printf format (for example v%s).

This should allow us to create correct links in the bottom of the changelog.

@aslakhellesoy aslakhellesoy changed the title Add --tag-pattern option to the release command Add --tag-format option to the release command Nov 9, 2021
aslakhellesoy added a commit to cucumber/.github that referenced this pull request Nov 9, 2021
Copy link

@aurelien-reeves aurelien-reeves left a comment

Choose a reason for hiding this comment

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

Despite the goreleaser failed action, the changes looks good to me

@mattwynne mattwynne merged commit 7ffc53f into main Nov 9, 2021
@aurelien-reeves
Copy link

@mattwynne you merged these PR despite the failed CI. Is the goreleaser job expected to fail? If so, can we remove it or, better, fix it to make it pass?

@aslakhellesoy
Copy link
Author

Yes, goreleaser is expected to fail and unrelated to this change. We'll fix that in a separate PR. For now, users have to build and install the binary on their own.

@mattwynne mattwynne deleted the release-tag-pattern branch November 11, 2021 18:15
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