tools/workspace-status.py [17:31]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CMD = ['git', 'describe', '--always', '--match', 'v[0-9].*', '--dirty']


def revision():
    try:
        return subprocess.check_output(CMD).strip().decode("utf-8")
    except OSError as err:
        print('could not invoke git: %s' % err, file=sys.stderr)
        sys.exit(1)
    except subprocess.CalledProcessError as err:
        print('error using git: %s' % err, file=sys.stderr)
        sys.exit(1)


print("STABLE_BUILD_BATCH_LABEL %s" % revision())
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tools/workspace_status.py [17:31]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CMD = ['git', 'describe', '--always', '--match', 'v[0-9].*', '--dirty']


def revision():
    try:
        return subprocess.check_output(CMD).strip().decode("utf-8")
    except OSError as err:
        print('could not invoke git: %s' % err, file=sys.stderr)
        sys.exit(1)
    except subprocess.CalledProcessError as err:
        print('error using git: %s' % err, file=sys.stderr)
        sys.exit(1)


print("STABLE_BUILD_BATCH_LABEL %s" % revision())
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



