CI Changes
This commit is contained in:
committed by
aerinon
parent
54858500e5
commit
ca40f87daa
@@ -5,12 +5,12 @@ from shutil import copy # file manipulation
|
||||
env = common.prepare_env()
|
||||
|
||||
# set tag to app_version.txt
|
||||
if not env["GITHUB_TAG"] == "":
|
||||
with open(os.path.join(".","resources","app","meta","manifests","app_version.txt"),"w+") as f:
|
||||
_ = f.read()
|
||||
f.seek(0)
|
||||
f.write(env["GITHUB_TAG"])
|
||||
f.truncate()
|
||||
# if not env["GITHUB_TAG"] == "":
|
||||
# with open(os.path.join(".","resources","app","meta","manifests","app_version.txt"),"w+") as f:
|
||||
# _ = f.read()
|
||||
# f.seek(0)
|
||||
# f.write(env["GITHUB_TAG"])
|
||||
# f.truncate()
|
||||
|
||||
if not os.path.isdir(os.path.join("..","build")):
|
||||
os.mkdir(os.path.join("..","build"))
|
||||
|
||||
Reference in New Issue
Block a user