mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-28 02:16:16 +00:00
Fixed deconde on deemix-pyweb spec file
This commit is contained in:
parent
431cd7c7f9
commit
ff700b999a
|
@ -4,7 +4,7 @@ from datetime import date
|
|||
import subprocess
|
||||
|
||||
today = date.today().strftime("%Y.%m.%d")
|
||||
commit = str(subprocess.check_output(['git', 'rev-parse', 'HEAD'])[:10])
|
||||
commit = subprocess.check_output(['git', 'rev-parse', 'HEAD'])[:10].decode("utf-8")
|
||||
version = f"{today}-{commit}"
|
||||
with open('version.txt', 'w') as f:
|
||||
f.write(version)
|
||||
|
|
Loading…
Reference in a new issue