Skip to content

Commit

Permalink
Merge pull request #153 from perfectsense/bugfix/fix-build-gradle-env…
Browse files Browse the repository at this point in the history
…-ref

Update the github ref to tags instead of head
  • Loading branch information
harjain99 authored Aug 5, 2024
2 parents b1403ca + 5c66848 commit 2fea85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (System.getenv('CI')) {
defaultTasks 'build', 'publish'

releaseBuild = System.getenv('GITHUB_ACTIONS_PULL_REQUEST') == '' &&
System.getenv('GITHUB_REF').startsWith("refs/head/release/");
System.getenv('GITHUB_REF').startsWith("refs/tags/release/");
} else {
defaultTasks 'build', 'publishToMavenLocal'
}
Expand Down

0 comments on commit 2fea85e

Please sign in to comment.