Skip to content

Commit 37348d5

Browse files
NO-JIRA Update branch env variable name
1 parent 40f44d7 commit 37348d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ subprojects {
141141
def signingPassword = findProperty("signingPassword")
142142
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
143143
required {
144-
def branch = System.getenv()["CIRRUS_BRANCH"]
144+
def branch = System.getenv()["GITHUB_REF_NAME"]
145145
return (branch == 'master' || branch ==~ 'branch-[\\d.]+') &&
146146
gradle.taskGraph.hasTask(":artifactoryPublish")
147147
}

0 commit comments

Comments
 (0)