Skip to content

Commit

Permalink
Revert "Merge pull request #374 from perfectsense/feature/gha-gradle-…
Browse files Browse the repository at this point in the history
…build"

This reverts commit 849c80b, reversing
changes made to 0430c43.
  • Loading branch information
deepanjan90 committed Jul 14, 2021
1 parent 849c80b commit 11315bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 64 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/gradle.yml

This file was deleted.

4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
def releaseVersion = '1.1.0'
def releaseBuild = false;

if (System.getenv('BRANCH')) {
if (System.getenv('TRAVIS_BRANCH') && System.getenv('TRAVIS_PULL_REQUEST') == 'false') {
defaultTasks 'build', 'publish'

releaseBuild = System.getenv('BRANCH').startsWith("release/");
releaseBuild = System.getenv('TRAVIS_BRANCH').startsWith("release/");
} else {
defaultTasks 'build', 'publishToMavenLocal'
}
Expand Down

0 comments on commit 11315bf

Please sign in to comment.