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

Support AutoIncrement.None #157

Merged
merged 6 commits into from
Aug 16, 2024

Conversation

KingKiller100
Copy link
Collaborator

@KingKiller100 KingKiller100 commented Aug 15, 2024

Summary

In order to help support returning the last tag recorded without bumping any components, changes to the AutoIncrement enum support were required.

Are there any concerns or areas to be aware of regarding the approach taken or areas changed?

Tests

  • Added unit test to verify the last recorded tag or min version specified are returned as-is

  • Tested -a none argument being used thru Visual Studio debugger

  • Tests added

  • Linked issue if exists

  • Updated Documentation

Copy link
Owner

@AshleighAdams AshleighAdams left a comment

Choose a reason for hiding this comment

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

Could you amend the PR body to clarify the intended use case?

src/Verlite.CLI/AutoIncrement.cs Outdated Show resolved Hide resolved
src/Verlite.Core/VersionCalculator.cs Outdated Show resolved Hide resolved
src/Verlite.Core/VersionCalculator.cs Outdated Show resolved Hide resolved
@KingKiller100 KingKiller100 force-pushed the kingkiller100/autoincrement-none-support branch from 1a988ae to ecaf8c1 Compare August 16, 2024 18:17
- `NextVersion()` retains guard style logic
- Removed unnecessary braces
- Added/formatted tests
@AshleighAdams
Copy link
Owner

Ready for merge, thanks 👍🏼

@AshleighAdams AshleighAdams disabled auto-merge August 16, 2024 19:10
@AshleighAdams AshleighAdams merged commit 5564db8 into master Aug 16, 2024
9 of 10 checks passed
@AshleighAdams AshleighAdams deleted the kingkiller100/autoincrement-none-support branch August 16, 2024 19:11
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