Skip to content

Commit 56e7752

Browse files
fix: use GIT_LOCAL_BRANCH on Jenkins
GIT_BRANCH includes `origin/BRANCH_NAME`
1 parent 6b3b9a1 commit 56e7752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

verifyConditions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function (pluginConfig, config, cb) {
77
branch = config.env.TRAVIS_BRANCH;
88
} else {
99
defaultVerifyConditions = require('@krux/condition-jenkins');
10-
branch = config.env.GIT_BRANCH;
10+
branch = config.env.GIT_LOCAL_BRANCH;
1111
}
1212

1313
// update semantic-release configuration to publish:

0 commit comments

Comments
 (0)