#!/bin/bash

# This script will be run by bazel when the build process starts to
# generate key-value information that represents the status of the
# workspace. The output should be like
#
# KEY1 VALUE1
# KEY2 VALUE2
#
# If the script exits with non-zero code, it's considered as a failure
# and the output will be discarded.

function rev() {
  cd $1; git describe --always --match "v[0-9].*" --dirty
}

echo STABLE_BUILD_OWNERS_LABEL $(rev .)

#!/bin/bash

# This script will be run by bazel when the build process starts to
# generate key-value information that represents the status of the
# workspace. The output should be like
#
# KEY1 VALUE1
# KEY2 VALUE2
#
# If the script exits with non-zero code, it's considered as a failure
# and the output will be discarded.

function rev() {
  cd $1; git describe --always --match "v[0-9].*" --dirty
}

echo STABLE_BUILD_OWNERS-AUTOASSIGN_LABEL $(rev .)

Revert "Fix label name generated by workskace-status.sh"
Revert "Fix label name generated by workskace-status.sh"

This change broke 'bazel build :all'

This reverts commit 1c7533b4a514a39afc05b72edf6faf4cd71cca0a.

Change-Id: Ib24b9adfad320937b0ec788ab0f46f423ea6873c
