add 'g' prefix before artifact SHA (#358)
This commit is contained in:
parent
fc8f59e121
commit
3afcff278f
|
@ -5,7 +5,7 @@ def getVersion(branch, sha, buildNumber) {
|
|||
version = branch.replaceAll(/\//, '-')
|
||||
|
||||
if (sha?.trim()) {
|
||||
version = version + '-' + sha
|
||||
version = version + '-g' + sha
|
||||
}
|
||||
|
||||
if (buildNumber?.trim()) {
|
||||
|
|
|
@ -5,7 +5,7 @@ def getVersion(branch, sha, buildNumber) {
|
|||
version = branch.replaceAll(/\//, '-')
|
||||
|
||||
if (sha?.trim()) {
|
||||
version = version + '-' + sha
|
||||
version = version + '-g' + sha
|
||||
}
|
||||
|
||||
if (buildNumber?.trim()) {
|
||||
|
|
Loading…
Reference in New Issue