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

Set up "push tag to release" workflow #42

Merged
merged 1 commit into from
Dec 3, 2023

Conversation

fmeum
Copy link
Contributor

@fmeum fmeum commented Dec 3, 2023

Adopts the release workflow from https://github.com/bazel-contrib/rules-template, which includes automatic publishing to the Bazel Central Registry (BCR).

Adopts the release workflow from
https://github.com/bazel-contrib/rules-template, which includes
automatic publishing to the Bazel Central Registry (BCR).
@fmeum
Copy link
Contributor Author

fmeum commented Dec 3, 2023

@eed3si9n Please take a look at the CONTRIBUTING.md file, releasing will require you to add the Publish to BCR app to this repo and your fork of the bazel-central-registry repo as one-time setup.

The README currently lists the first version as 0.1.0, but feel free to use a different one. Since I can't test the workflow, please let me know if anything doesn't work and I can help.

@@ -0,0 +1,3 @@
fixedReleaser:
Copy link
Contributor

Choose a reason for hiding this comment

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

https://github.com/bazel-contrib/publish-to-bcr/tree/main/templates#optional-configyml

fixedReleaser: GitHub username and email to use as the author for BCR commits. Set this if you want a single user to always be the author of BCR entries regardless of who cut the release.

Not sure if we want this. I guess I can always remove it, but something to note.

@eed3si9n eed3si9n merged commit 146169b into bazeltools:main Dec 3, 2023
8 checks passed
@eed3si9n
Copy link
Contributor

eed3si9n commented Dec 3, 2023

Looks like it worked! - bazelbuild/bazel-central-registry#1170

@fmeum fmeum deleted the bcr branch December 7, 2023 16: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