don't print more information when a tag actually is available
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
'<(SHARED_INTERMEDIATE_DIR)/include/mbgl/util/version.hpp',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/src/mbgl/util/mbgl_version.cpp',
|
||||
],
|
||||
'action': ['<@(python)', 'scripts/build-version.py', '<(SHARED_INTERMEDIATE_DIR)', '<!@(git describe --tags --always --abbrev=8)', '<!@(git rev-parse --short=8 HEAD)'],
|
||||
'action': ['<@(python)', 'scripts/build-version.py', '<(SHARED_INTERMEDIATE_DIR)', '<!@(git describe --tags --always --abbrev=0)', '<!@(git rev-parse HEAD)'],
|
||||
}
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
|
||||
@@ -11,7 +11,7 @@ if sys.argv[2] == sys.argv[3]:
|
||||
else:
|
||||
tag = map(int, sys.argv[2].split('.'))
|
||||
|
||||
rev = sys.argv[3]
|
||||
rev = sys.argv[3][0:8]
|
||||
|
||||
|
||||
def mkdir_p(path):
|
||||
|
||||
Reference in New Issue
Block a user