Skip to content

Commit

Permalink
automated publishing of releases #294
Browse files Browse the repository at this point in the history
  • Loading branch information
remmeier committed Apr 29, 2018
1 parent 9d10261 commit 64b41d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.3'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.11'
classpath 'com.moowork.gradle:gradle-node-plugin:1.1.1'
classpath 'org.ajoberstar:gradle-git-publish:0.2.1'
classpath 'org.ajoberstar:gradle-git-publish:0.4.1'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5-rc1'
classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1"
classpath "net.ltgt.gradle:gradle-apt-plugin:0.10"
Expand Down
9 changes: 4 additions & 5 deletions crnk-documentation/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'org.asciidoctor.convert'

apply plugin: 'org.ajoberstar.git-publish'


asciidoctor {
backends = ['html5', 'pdf']
Expand All @@ -12,10 +12,10 @@ asciidoctor {

tasks.assemble.dependsOn 'asciidoctor'


apply plugin: 'org.ajoberstar.git-publish'
// see https://github.com/ajoberstar/gradle-git-publish
gitPublish {
repoUri = 'git@github.com:crnk-project/crnk-web.git'
repoUri = 'https://github.com/crnk-project/crnk-web.git'
branch = 'master'
repoDir = file("$buildDir/asciidoc/")

Expand All @@ -34,5 +34,4 @@ gitPublish {
commitMessage = 'Publishing a new documentation'
}

// TODO plugin broken
// tasks.publish.dependsOn 'gitPublishPush'
tasks.publish.dependsOn 'gitPublishPush'
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ BUILD_VERSION_PREFIX=2.6
signing.keyId=33A45241

systemProp.sonar.host.url=https://sonarqube.com
systemProp.sonar.organization=crnk
systemProp.sonar.organization=crnk

systemProp.org.ajoberstar.grgit.auth.force=HARDCODED

0 comments on commit 64b41d2

Please sign in to comment.