Skip to content

Commit

Permalink
fix release on branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
igorgn authored Dec 13, 2021
1 parent 8201ac0 commit cff033b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit cff033b

Please sign in to comment.