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

Update only drafts with the same prerelease status #1385

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaap3
Copy link

@jaap3 jaap3 commented Mar 26, 2024

Do not update final release drafts with when drafting a prerelease and vice versa

Given the following releases:

Name Draft Prerelease
v3.4.0    
v3.5.0-rc.4  
v3.5.0  
v3.5.0-rc.5

when running release-drafter with this config:

prerelease: true
prerelease-identifier: rc

I'd expect the draft of v3.5.0-rc.5 to be updated instead of v3.5.0.

This allows me to maintain a draft for the next prerelease, listing the changes since the previous prerelease, and a draft for the next final release, listing the changes since the previous final release.

Do not update final release drafts with when drafting a prerelease and vice versa
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.

None yet

2 participants