mirror of
https://github.com/bazelbuild/rules_cc
synced 2024-11-25 17:31:30 +00:00
29da92c66c
This commit allows the creation of distributions, with 0.0.1 being the first version. See distro/README.md for details on how to build a release. This commit also uses a new version of the Bazel federation that contains rules_pkg 0.2.2 instead of 0.2.1. There are still some problems with the WORKSPACE stanza that is being printed by the release notes generation script, though: - It references a //cc:deps.bzl file, which doesn't exist. I have to modify the scripts in rules_pkg to support a flag like 'has_deps'. - It doesn't support the Bazel federation yet, since it always tells users to download code from the rules_cc repository.
262 B
262 B
Package rules_cc
bazel build :relnotes
cat ../bazel-bin/distro/relnotes.txt
tar tzf ../bazel-bin/distro/rules_cc-*.tar.gz
- Create a new release
- Copy/paste relnotes.txt into the notes. Adjust as needed.
- Upload the tar.gz file as an artifact.