bazelbuild / rules_cc

C++ Rules for Bazel
https://bazel.build
Apache License 2.0
187 stars 93 forks source link

Use rules_pkg for building releases #35

Closed fweikert closed 5 years ago

fweikert commented 5 years ago

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:

NOTE: This PR is not yet ready to be merged, since I'll address the aforementioned TODOs first.

fweikert commented 5 years ago

cc @aiuto

fweikert commented 5 years ago

This should have been a draft PR :( No need to review it yet.

fweikert commented 5 years ago

The PR is ready for review - cc @hlopko

You can generate the WORKSPACE stanza via bazel build //distro:relnotes

Ideally rules_pkg would support a standard format for WORKSPACE setup instructions, so we wouldn't have to link to the code by default.