Skip to content

fix(validate that the tag exists before action)#4

Merged
MedUnes merged 1 commit into
masterfrom
bugfix/validate-tag-exists
May 27, 2026
Merged

fix(validate that the tag exists before action)#4
MedUnes merged 1 commit into
masterfrom
bugfix/validate-tag-exists

Conversation

@MedUnes

@MedUnes MedUnes commented May 27, 2026

Copy link
Copy Markdown
Owner

Validate target version exists before lifecycle changes

Closes #2

When -clean or -latest is used with a version string that doesn't match any existing project version (e.g. 1.5.8 instead of v1.5.8), the tool previously treated every version as "not the target" and set them all to active:false / isLatest:false , silently deactivating every version in the project

Now iif the target version isn't found, it aborts with an error listing the available versions so the typo is immediately obvious.

@MedUnes MedUnes self-assigned this May 27, 2026
@MedUnes MedUnes merged commit f4bfeed into master May 27, 2026
1 check passed
@cweiske

cweiske commented May 28, 2026

Copy link
Copy Markdown

Thanks for the quick implementation.

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.

Cancel "-clean" when latest version does not exist

2 participants