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: add packages to release #976

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Fix: add packages to release #976

merged 1 commit into from
Nov 5, 2024

Conversation

mem
Copy link
Contributor

@mem mem commented Nov 5, 2024

Use GitHub's command line tool (gh) to add packages to the existing release. The assumption is that the tag was created because there's a matching release.

This feels wrong, because we are creating a release and then later, in a separate workflow, we are adding files to that release, instead of doing it in a single location. From my point of view, the problem is that we are conceptually creating a release which creates a tag instead of the other way around. It's even a little weirder because GitHub does support the concept of "draft release", but release-please doesn't.

Fixes: #956

Use GitHub's command line tool (gh) to add packages to the existing
release. The assumption is that the tag was created because there's a
matching release.

This feels wrong, because we are creating a release and then later, in a
separate workflow, we are adding files to that release, instead of doing
it in a single location. From my point of view, the problem is that we
are conceptually creating a release which creates a tag instead of the
other way around. It's even a little weirder because GitHub does support
the concept of "draft release", but release-please doesn't.

Fixes: #956
Signed-off-by: Marcelo E. Magallon <[email protected]>
@mem mem requested a review from a team as a code owner November 5, 2024 21:58
@mem mem merged commit 97ee505 into main Nov 5, 2024
5 checks passed
@mem mem deleted the mem/add-packages-to-release branch November 5, 2024 22:36
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.

Recent releases are missing assets
1 participant