tag | 4837b927a7925bf8814d0e77886ba97dac068b42 | |
---|---|---|
tagger | David Pursehouse <dpursehouse@collab.net> | Thu Oct 10 08:46:12 2019 +0900 |
object | 9edc1950d3c0a3717cefda1688a4c37e7fc652fb |
v3.0.3
commit | 9edc1950d3c0a3717cefda1688a4c37e7fc652fb | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu May 09 12:37:05 2019 +0900 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu May 09 07:38:32 2019 +0100 |
tree | 97277e631225217766bf61cccfc3eaac16a1ad1f | |
parent | ec349d12a0b52280a48a66d4c5adf20f900c2393 [diff] |
GerritVersionBranch: Fix branch detection for 3.0.0-rcx versions The detection assumes that any version string that includes "-" in the 'minor' version is a git describe generated version, such as: 2.16.8-17-gc8b633d5ce and treats it as the 'next' version. This logic does not take into account that the latest release version 3.0.0 has the explicit trailing ".0" on it, so the version "3.0.0-rc3" is parsed incorrectly and "master" is returned. Change the condition to check for "-g" instead, since "g" is always included before the abbreviated sha1 in a git describe version. Add tests to confirm that it behaves as expected for various forms of version string. Change-Id: Ifab49a4d3985acce0dbdcbe54d89460bd7c3f027
Gerrit web-based plugin manager.
To enable this plugin, please look at the configuration guide