diff --git a/scripts/bump-oss-version.js b/scripts/bump-oss-version.js index ec2af311a307c5..6fa6d1c83b449b 100755 --- a/scripts/bump-oss-version.js +++ b/scripts/bump-oss-version.js @@ -72,6 +72,7 @@ let branch; if (!nightlyBuild) { + // Check we are in release branch, e.g. 0.33-stable if (process.env.BUILD_SOURCEBRANCH) { console.log(`BUILD_SOURCEBRANCH: ${process.env.BUILD_SOURCEBRANCH}`); branch = process.env.BUILD_SOURCEBRANCH.match(/refs\/heads\/(.*)/)[1];