mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-23 18:29:23 -05:00
use commit hash as version number if not on a tagged release
This commit is contained in:
@@ -71,4 +71,6 @@ except BaseException:
|
||||
|
||||
with open('cookbook/version_info.py', 'w+', encoding='UTF-8') as f:
|
||||
print(f"writing version info {version_info}")
|
||||
if not tandoor_tag:
|
||||
tandoor_tag = tandoor_hash
|
||||
f.write(f'TANDOOR_VERSION = "{tandoor_tag}"\nTANDOOR_REF = "{tandoor_hash}"\nVERSION_INFO = {version_info}')
|
||||
|
||||
Reference in New Issue
Block a user