NOISSUE add a way to extract the version into a TC variable

This commit is contained in:
Petr Mrázek 2019-09-17 00:53:30 +02:00
parent 1ede75aa79
commit 0e0a017175

View File

@ -77,6 +77,7 @@ set(MultiMC_RELEASE_VERSION_NAME "${MultiMC_VERSION_MAJOR}.${MultiMC_VERSION_MIN
#### Custom target to just print the version. #### Custom target to just print the version.
add_custom_target(version echo "Version: ${MultiMC_RELEASE_VERSION_NAME}") add_custom_target(version echo "Version: ${MultiMC_RELEASE_VERSION_NAME}")
add_custom_target(tcversion echo "##teamcity[setParameter name='env.MULTIMC_VERSION' value='${MultiMC_RELEASE_VERSION_NAME}']")
################################ 3rd Party Libs ################################ ################################ 3rd Party Libs ################################