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

Fix new draft-release release flow: avoid duplicates, capture changelog #439

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Dec 9, 2024

As observed in #432 (comment), after #432, release CI has two problems:

  • It creates two releases, one as a draft that the artifacts are uploaded too, and then one that's published. I'm guessing this is because the name key wasn't set on the draft uploads
  • The release notes couldn't be created, because the repo and its code (particularly CHANGES.md) wasn't available in the publishing step

@huonw huonw changed the title Include name in draft release creation steps Fix new draft-release release flow: avoid duplicates, capture changelog Dec 9, 2024
@huonw huonw marked this pull request as ready for review December 9, 2024 02:30
@huonw huonw requested a review from benjyw December 9, 2024 02:30
@huonw huonw merged commit 62894d0 into pantsbuild:main Dec 10, 2024
6 checks passed
@huonw
Copy link
Contributor Author

huonw commented Dec 11, 2024

This fixes the changelog issue but not the double-release-creation one. 😭

Clearly I'm not understanding something here and need to dig deeper.

image

@huonw huonw deleted the huonw/draft-release-fix branch December 11, 2024 00:44
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