Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
Publish to plugins.gradle.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinos Niktas committed Jan 30, 2016
1 parent b4e7f09 commit aee253c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cache:
directories:
- ".gradle"
script:
- ./gradlew build test publish --stacktrace
- ./gradlew build test publish publishPlugins --stacktrace
deploy:
provider: releases
api_key:
Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,7 @@ pluginBundle {
}
}
}

publishPlugins.onlyIf {
System.getenv('TRAVIS_TAG') && project.version.toString() ==~ /\d+\.\d+\.\d+/
}

0 comments on commit aee253c

Please sign in to comment.