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

automatically create bzlmod archive for release #1230

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

zaucy
Copy link
Contributor

@zaucy zaucy commented Oct 1, 2023

Helps out by creating stable archive for bzlmod releases in the future

related to #1229

more details why the bazel central registry requires this is here: https://blog.bazel.build/2023/02/15/github-archive-checksum.html

# See: https://blog.bazel.build/2023/02/15/github-archive-checksum.html
bazel-release-archive:
runs-on: ubuntu-latest
continue-on-error: true
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What effect will this have? Does this mean, if there's an error in creating this archive, but no errors anywhere else in the release, then the release will go through without an archive?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know what, if there's a problem, someone can always submit a patch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so sorry! I didn't see your review. Must've got lost in my github notifications.

I've added this to a few repositories and one of them requested I add continue-on-error and I mistakenly left it in this PR 😅

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha no worries. If it's not necessary, can you submit another PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you got it! #1234

@jbeder jbeder merged commit 4fc5ec3 into jbeder:master Oct 12, 2023
27 checks passed
@zaucy zaucy deleted the bzlmod-archive branch October 12, 2023 22:03
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