mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 13:59:46 -04:00
Fix string comparison in CMakeLists.txt
This commit is contained in:
parent
da79f53e02
commit
072a5218f3
@ -1109,7 +1109,7 @@ if(STATIC_BUILD_DO_NOT_USE OR WIN32)
|
||||
add_custom_target(universal_upx DEPENDS ${UNIVERSAL_PACKED})
|
||||
|
||||
if(DEFINED ENV{GITHUB_REF_TYPE})
|
||||
if($ENV{GITHUB_REF_TYPE} == "tag")
|
||||
if("$ENV{GITHUB_REF_TYPE}" STREQUAL "tag")
|
||||
set(ARTIFACTS_SUBDIR "releases/$ENV{GITHUB_REF_NAME}@${PRJ_GIT_REV}")
|
||||
else()
|
||||
set(ARTIFACTS_SUBDIR "builds/${PRJ_VERSION_FULL}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user