mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Update core/version/build_version_vars_h.py
This commit is contained in:
parent
de6f1033bd
commit
39b8c5a5ff
@ -8,12 +8,12 @@ import sys
|
|||||||
# collect build data
|
# collect build data
|
||||||
|
|
||||||
now = datetime.datetime.now()
|
now = datetime.datetime.now()
|
||||||
build_id = "0.0"
|
build_id = ""
|
||||||
is_public = "true"
|
is_public = "true"
|
||||||
username = "%s" % getpass.getuser()
|
username = "%s" % getpass.getuser()
|
||||||
timestamp = "%s%s" % (now.replace(microsecond=0).isoformat(), time.strftime("%z"))
|
timestamp = "%s%s" % (now.replace(microsecond=0).isoformat(), time.strftime("%z"))
|
||||||
version_prefix = "1."
|
version_prefix = ""
|
||||||
full_version = "%s%s" % (version_prefix, build_id)
|
full_version = "private"
|
||||||
|
|
||||||
branch = os.getenv("CI_BUILD_REF_NAME")
|
branch = os.getenv("CI_BUILD_REF_NAME")
|
||||||
if branch is None:
|
if branch is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user