Merged
Conversation
db977ac to
c924579
Compare
We should support alternate prefixes in version tags. At the moment the project assumes that the prefix v is always used. But some projects use no prefix, or include the package as a prefix to the version (e.g. in monorepos). All public-facing functions now support a tag prefix option. It is optional, so this is a non-breaking change. The `updateChangelog` method accepts an array of tag prefixes instead of a single one, so that we can better support the first release of a monorepo where you might want to compare against a backup tag if the first isn't found. Fixes #116
c924579 to
8212c8e
Compare
Member
Author
|
I will follow up with manual testing steps soon, and do some manual testing myself. |
Member
Author
|
Manual testing steps: Independent repository (regression testing):
Monorepo repository (new functionality):
|
Member
Author
|
The manual testing steps include setting the This seems wrong to me (the version should always match the manifest at the project root), so I have updated how that works here: #121 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We should support alternate prefixes in version tags. At the moment the project assumes that the prefix
vis always used. But some projects use no prefix, or include the package as a prefix to the version (e.g. in monorepos).All public-facing functions now support a tag prefix option. It is optional, so this is a non-breaking change. The
updateChangelogmethod accepts an array of tag prefixes instead of a single one, so that we can better support the first release of a monorepo where you might want to compare against a backup tag if the first isn't found.
Fixes #116