Merge "Fix buck build when referring SNAPSHOT version"
This commit is contained in:
commit
f5a4639757
@ -47,7 +47,7 @@ def maven_jar(
|
|||||||
|
|
||||||
if 'SNAPSHOT' in version:
|
if 'SNAPSHOT' in version:
|
||||||
file_version = version.replace('-SNAPSHOT', '')
|
file_version = version.replace('-SNAPSHOT', '')
|
||||||
version = version.split('-')[0] + '-SNAPSHOT'
|
version = version.split('-SNAPSHOT')[0] + '-SNAPSHOT'
|
||||||
else:
|
else:
|
||||||
file_version = version
|
file_version = version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user