From d7fb707df26b581cc0b191bd78d76d497adc2144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tadej=20Jane=C5=BE?= Date: Mon, 5 Oct 2020 14:54:52 +0200 Subject: [PATCH] Make: Only ensure that git and Punch version match for a real release This enables the usage of release-build target during development and testing since during that time those versions don't match. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 51767e4a14e..fd56f944c3b 100644 --- a/Makefile +++ b/Makefile @@ -189,7 +189,9 @@ release-stable-branch: fetch-git # Build and publish the next release. release-build: @$(ENSURE_VALID_RELEASE_BRANCH_NAME) +ifeq ($(OASIS_CORE_REAL_RELEASE), true) @$(ENSURE_GIT_VERSION_EQUALS_PUNCH_VERSION) +endif @$(ECHO) "$(CYAN)*** Building release version of oasis-core-runtime-loader...$(OFF)" @CARGO_TARGET_DIR=target/default cargo build -p oasis-core-runtime-loader --release @cp target/default/release/oasis-core-runtime-loader .