commit | 19baef0e9434f391c2e7682e094f7cbbe756e96a | [log] [tgz] |
---|---|---|
author | Sean Paul <seanpaul@chromium.org> | Thu May 05 17:10:31 2011 -0400 |
committer | Sean Paul <seanpaul@chromium.org> | Thu May 05 17:10:31 2011 -0400 |
tree | f0ab48dd7e31ecd88063da370d7b67c24d3b2527 | |
parent | ba01d400fbbc5df4c48c6f63fe949515473f8182 [diff] |
[repohooks] Fix bug in pre-upload.py that fails on versions with characters There was a bug in my previous CL to pre-upload.py which rejected git versions with characters in them (i.e. 1.7.5.rc3). This change ignores characters at the end of the version string (thus making the above example 1.7.5). BUG=none TEST=Tested with version string 1.7.5.rc3, 1.7.1, 1.7.2.3 and ensured the behaviour was as expected. Change-Id: Ia5fbe6a7dd8ffe888bf45679889f9bd0aa726cb9