blob: b9eb59fceba444d553efab80e0ae8070b2e3a316 [file]
#!/usr/bin/env bash
# See https://bazel.build/docs/user-manual#workspace-status
# Starts with the STABLE_ prefix so that Bazel will always rebuild stamped outputs if the git tag changes.
echo STABLE_BUILD_VERSION "$(git describe --long | sed -e 's/^v//;s/-/./;s/-g/+/')"