Lines Matching +full:rev +full:- +full:parse
9 # http://www.apache.org/licenses/LICENSE-2.0
20 # Args: <changes-file> <output-file>
24 # - The software version deduced from the given CHANGES file.
25 # - A longer string with the project name, the software version number, and
28 # rev-parse HEAD" if that succeeds, or otherwise a message containing the
82 # Match the first well-formed version-and-date line.
83 # Allow trailing whitespace in the checked-out source code has
84 # unexpected carriage returns on a linefeed-only system such as
86 pattern = re.compile(r'^(v\d+\.\d+(-dev)?) \d\d\d\d-\d\d-\d\d\s*$')
99 Runs 'git describe', or alternately 'git rev-parse HEAD', in directory. If
111 ['git', 'rev-parse', 'HEAD'], directory).rstrip().decode()
126 print('usage: {} <changes-files> <output-file>'.format(sys.argv[0]))
134 new_content = '"{}", "SPIRV-Tools {} {}"\n'.format(