From cff033bd884c4af4d84797014fbffa0cc6f711df Mon Sep 17 00:00:00 2001 From: igorgn <50628426+igorgn@users.noreply.github.com> Date: Mon, 13 Dec 2021 14:36:24 +0200 Subject: [PATCH] fix release on branch 'release' --- scripts/release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.js b/scripts/release.js index dea73b5aa..15f2d8064 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -9,7 +9,7 @@ let IS_SNAPSHOT; if (process.env.BUILDKITE_MESSAGE.match(/^release$/i)){ IS_SNAPSHOT = cp.execSync(`buildkite-agent meta-data get is-snapshot`).toString(); } -const ONLY_ON_BRANCH = 'origin/release'; +const ONLY_ON_BRANCH = 'release'; const isSnapshotBuild = IS_SNAPSHOT === 'true'; const VERSION_TAG = isSnapshotBuild ? 'snapshot' : 'latest'; const VERSION_INC = 'minor';