Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: enable--print-last-released* when in detached head or non-release branch#926

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@codejedi365
Copy link
Contributor

@codejedi365codejedi365 commentedMay 13, 2024
edited
Loading

Purpose

Rationale

When using PSR to evaluate what the last released tag was, it is irrelevant to impose release branch restrictions on the usage as it doesn't matter what branch you are actually on.--print and--print-tag are not included here as those determine the next version value and those do currently rely upon the release branch configuration.

How I tested

Created test cases that evaluate non-release branch environments in regular or strict mode while using--print-last-released,--print-last-released-tag. The tests also evaluated the same command when in a detached head state.

@codejedi365codejedi365 self-assigned thisMay 13, 2024
@codejedi365codejedi365force-pushed thefix/branch-restriction-enforcement branch 5 times, most recently frome08c104 to93f04e7CompareMay 18, 2024 16:17
@codejedi365codejedi365force-pushed thefix/branch-restriction-enforcement branch 2 times, most recently from42a7cfc to9111990CompareJuly 4, 2024 17:55
@codejedi365codejedi365 changed the titlefix: enable--print when in detached head or non-release branchfix: enable--print-last-released* when in detached head or non-release branchJul 4, 2024
@codejedi365codejedi365force-pushed thefix/branch-restriction-enforcement branch from9111990 tod8e7851CompareJuly 5, 2024 03:52
@codejedi365codejedi365 merged commit782c0a6 intopython-semantic-release:masterJul 6, 2024
@codejedi365codejedi365 deleted the fix/branch-restriction-enforcement branchJuly 6, 2024 21:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

@codejedi365codejedi365

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Allowversion --print-last-released outside of release branches

1 participant

@codejedi365

[8]ページ先頭

©2009-2025 Movatter.jp