cmake: rename PRE_RELEASE as RELEASE_CANDIDATE

This commit is contained in:
Mizux Seiha
2025-12-02 17:24:47 +01:00
committed by Corentin Le Molgat
parent 94dceb5957
commit 32ee8627ca
5 changed files with 8 additions and 8 deletions

View File

@@ -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),)

View File

@@ -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