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

Add match case for new prerelease command #9

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

omaus
Copy link
Contributor

@omaus omaus commented Oct 27, 2023

This PR

  • adds a new command which is "pre:" and works via cumulating normal SemVer increases and Prerelease tag (e.g. Input: build releasenotes semver:major pre:alpha.0 –> SemVer: X+1.Y.Z.-alpha.0)
    • adds unit tests for this

@Freymaurer
Copy link
Owner

What happens if i do: build releasenotes pre:alpha.01?

@omaus
Copy link
Contributor Author

omaus commented Oct 27, 2023

That would be this case:
image

So, it does the same as atm. build releasenotes semver:pre-alpha.01.

@Freymaurer
Copy link
Owner

Perfect! looks good to me!

@Freymaurer Freymaurer merged commit 5171e50 into Freymaurer:main Oct 27, 2023
@omaus omaus deleted the feature-preTag&Semver-#6 branch October 27, 2023 12:03
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