cmake: rename PRE_RELEASE as RELEASE_CANDIDATE
This commit is contained in:
committed by
Corentin Le Molgat
parent
94dceb5957
commit
32ee8627ca
@@ -298,9 +298,9 @@ endif
|
||||
|
||||
OR_TOOLS_VERSION := $(OR_TOOLS_MAJOR).$(OR_TOOLS_MINOR).$(OR_TOOLS_PATCH)
|
||||
OR_TOOLS_SHORT_VERSION := $(OR_TOOLS_MAJOR).$(OR_TOOLS_MINOR)
|
||||
ifdef PRE_RELEASE
|
||||
OR_TOOLS_VERSION := $(OR_TOOLS_VERSION)-beta
|
||||
OR_TOOLS_SHORT_VERSION := $(OR_TOOLS_SHORT_VERSION)-beta
|
||||
ifdef RELEASE_CANDIDATE
|
||||
OR_TOOLS_VERSION := $(OR_TOOLS_VERSION)-rc
|
||||
OR_TOOLS_SHORT_VERSION := $(OR_TOOLS_SHORT_VERSION)-rc
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard .git),)
|
||||
|
||||
@@ -459,10 +459,10 @@ $(PYPI_ARCHIVE_TEMP_DIR)/ortools/README.txt: ortools/python/README.pypi.txt | $(
|
||||
$(PYPI_ARCHIVE_TEMP_DIR)/ortools/LICENSE: LICENSE | $(PYPI_ARCHIVE_TEMP_DIR)/ortools
|
||||
$(COPY) LICENSE $(PYPI_ARCHIVE_TEMP_DIR)$Sortools
|
||||
|
||||
ifndef PRE_RELEASE
|
||||
ifndef RELEASE_CANDIDATE
|
||||
OR_TOOLS_PYTHON_VERSION := $(OR_TOOLS_VERSION)
|
||||
else
|
||||
OR_TOOLS_PYTHON_VERSION := $(OR_TOOLS_MAJOR).$(OR_TOOLS_MINOR)b$(OR_TOOLS_PATCH)
|
||||
OR_TOOLS_PYTHON_VERSION := $(OR_TOOLS_VERSION)rc1
|
||||
endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user