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

Allow for VersionNoPrefix in VersionFormat #587

Merged

Conversation

cosmastech
Copy link
Contributor

@cosmastech cosmastech commented Dec 12, 2023

VersionNoPrefix can now be included in the VersionFormat (## {{.VersionNoPrefix}}) so a change can look like ## 2.0.1 instead of ## v2.0.1.

Closes #586

Check the following

  • Keep 100% code coverage
  • Be properly formatted
  • Documentation changes are included
  • Include a change file if expected

Additional context
Any additional info that might help get your pull request merged.

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b7d2abf) 100.00% compared to head (b4a450b) 100.00%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #587   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines         2137      2138    +1     
=========================================
+ Hits          2137      2138    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cosmastech cosmastech changed the title Allow for VersionNoPrefix Allow for VersionNoPrefix in VersionFormat Dec 14, 2023
@cosmastech cosmastech marked this pull request as ready for review December 14, 2023 00:24
@cosmastech
Copy link
Contributor Author

Not sure if there are documentation changes to be made. Happy to implement anything you think the PR is missing!

Thanks

@miniscruff
Copy link
Owner

Not sure if there are documentation changes to be made. Happy to implement anything you think the PR is missing!

Thanks

The comment above the new struct value is part of the generated docs so you are good.

@miniscruff miniscruff merged commit 4ecdfe8 into miniscruff:main Dec 14, 2023
5 checks passed
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.

Please support "VersionNoPrefix" in "versionFormat"
2 participants