Skip to content

Commit

Permalink
automatically update version tag on release
Browse files Browse the repository at this point in the history
  • Loading branch information
anshulverma committed Feb 22, 2016
1 parent b1a345d commit 656b229
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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 {
dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.4.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath 'net.anshulverma.gradle:gradle-release-plugin:0.2.4'
classpath 'net.anshulverma.gradle:gradle-release-plugin:0.5.7'
}
}

Expand Down
8 changes: 8 additions & 0 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ ext {
gpgPassphrase = project.hasProperty('gpgPassphrase') ? project.property('gpgPassphrase') : System.env['GPG_PASSPHRASE']
ossUser = project.hasProperty('ossUser') ? project.property('ossUser') : System.env['OSS_USER']
ossPassword = project.hasProperty('ossPassword') ? project.property('ossPassword') : System.env['OSS_PASSWORD']

releaseExt = {
versionedFiles << [
'README.md': [
23: ' classpath \'net.anshulverma.gradle:gradle-estilo-plugin:$nextVersion\''
]
]
}
}

publishing {
Expand Down

0 comments on commit 656b229

Please sign in to comment.