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

feat: bump pre version #70

Merged
merged 5 commits into from
Mar 28, 2023
Merged

feat: bump pre version #70

merged 5 commits into from
Mar 28, 2023

Conversation

aa900031
Copy link
Contributor

@aa900031 aa900031 commented Mar 6, 2023

Add bump pre version, It can set with arguments: --premajor, --preminor, --prepatch, --prerelease

ex: changelogen --bump --premajor or changelogen --bump --premajor=alpha

src/semver.ts Outdated Show resolved Hide resolved
src/semver.ts Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Merging #70 (88e0254) into main (fbc32cc) will increase coverage by 0.55%.
The diff coverage is 77.27%.

❗ Current head 88e0254 differs from pull request most recent head 2a4516f. Consider uploading reports for the commit 2a4516f to get more accurate results

@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   70.65%   71.21%   +0.55%     
==========================================
  Files           7        7              
  Lines         777      792      +15     
  Branches       90       90              
==========================================
+ Hits          549      564      +15     
  Misses        228      228              
Impacted Files Coverage Δ
src/semver.ts 30.95% <77.27%> (+15.01%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pi0
Copy link
Member

pi0 commented Mar 28, 2023

Thanks for the pull-request dear @aa900031 ❤️ I have pushed few refactors to simplify the implementation before merge.

@pi0 pi0 merged commit 602a440 into unjs:main Mar 28, 2023
@aa900031 aa900031 deleted the feat/bump-pre-version branch March 28, 2023 15:47
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