mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
June 27th update
This commit is contained in:
@@ -2,7 +2,7 @@ set(VERSION_VARS_H_FILE ${CMAKE_CURRENT_BINARY_DIR}/version_vars.h)
|
||||
set(BUILD_SCRIPT build_version_vars_h.py)
|
||||
add_custom_command(
|
||||
OUTPUT ${VERSION_VARS_H_FILE}
|
||||
COMMAND CI_PIPELINE_ID=00000001 CI_BUILD_REF_NAME=open-source python3 ${BUILD_SCRIPT} "userspace" > ${VERSION_VARS_H_FILE}
|
||||
COMMAND CI_PIPELINE_ID=00000001 CI_COMMIT_REF_NAME=open-source python3 ${BUILD_SCRIPT} "userspace" > ${VERSION_VARS_H_FILE}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
DEPENDS ${BUILD_SCRIPT}
|
||||
)
|
||||
|
@@ -15,7 +15,7 @@ timestamp = "%s%s" % (now.replace(microsecond=0).isoformat(), time.strftime("%z"
|
||||
version_prefix = ""
|
||||
full_version = "private"
|
||||
|
||||
branch = os.getenv("CI_BUILD_REF_NAME")
|
||||
branch = os.getenv("CI_COMMIT_REF_NAME")
|
||||
if branch is None:
|
||||
branch = "private"
|
||||
|
||||
|
Reference in New Issue
Block a user