Skip to content

Commit 50f7aa3

Browse files
NO-JIRA Update remaining branch env variable name
1 parent 81a842a commit 50f7aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ subprojects {
150150

151151
tasks.withType(Sign) {
152152
onlyIf {
153-
def branch = System.getenv()["CIRRUS_BRANCH"]
153+
def branch = System.getenv()["GITHUB_REF_NAME"]
154154
return !artifactoryPublish.skip &&
155155
(branch == 'master' || branch ==~ 'branch-[\\d.]+') &&
156156
gradle.taskGraph.hasTask(":artifactoryPublish")

0 commit comments

Comments
 (0)