Skip to content

Commit

Permalink
Update the github ref to tags instead of head
Browse files Browse the repository at this point in the history
  • Loading branch information
harjain99 committed Aug 5, 2024
1 parent 4f13ff5 commit 5c66848
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 5c66848

Please sign in to comment.