Skip to content

Commit

Permalink
Removing the release plugin in favour of the new process with branches (
Browse files Browse the repository at this point in the history
hyperledger#1843)

* removing the release plugin (& jenkinsfiles)and added a buildAlias


Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
  • Loading branch information
joshuafernandes authored Aug 13, 2019
1 parent d9187ed commit 9a16021
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 204 deletions.
125 changes: 0 additions & 125 deletions Jenkinsfile.release

This file was deleted.

37 changes: 0 additions & 37 deletions Jenkinsfile.release.branch

This file was deleted.

42 changes: 0 additions & 42 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ plugins {
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'me.champeau.gradle.jmh' version '0.4.8' apply false
id 'net.ltgt.errorprone' version '0.8.1'
id 'net.researchgate.release' version '2.8.1'
}

if (!JavaVersion.current().java11Compatible) {
Expand Down Expand Up @@ -583,27 +582,6 @@ def getCheckedOutGitCommitHash() {
refHead.text.trim().take takeFromHash
}

apply plugin: 'net.researchgate.release'

task releaseIntegrationTest(type: Test) {
for (TaskContainer taskList : subprojects.tasks) {
def subProjectIntegrationTask = taskList.findByName('integrationTest')

if (subProjectIntegrationTask != null) {
dependsOn subProjectIntegrationTask
}
}
}

task releaseReferenceTest(type: Test, dependsOn: [
':ethereum:core:referenceTests',
':ethereum:rlp:referenceTests',
':ethereum:trie:referenceTests'
]) {
}

task releaseAcceptanceTest(type: Test, dependsOn: ':acceptance-tests:acceptanceTest') {}

tasks.register("verifyDistributions") {
dependsOn distTar
dependsOn distZip
Expand All @@ -622,25 +600,6 @@ tasks.register("verifyDistributions") {
}
}


release {
preTagCommitMessage = '[Gradle Release Plugin] - pre tag commit: '
tagCommitMessage = '[Gradle Release Plugin] - creating tag: '
newVersionCommitMessage = '[Gradle Release Plugin] - new version commit: '
buildTasks = [
'build',
'releaseIntegrationTest',
'releaseAcceptanceTest',
'releaseReferenceTest',
'checkLicenses',
'javadoc'
]

git {
requireBranch = project.hasProperty('release.branch') ? project.property('release.branch') : 'master'
}
}

bintray {
user = bintrayUser
key = bintrayKey
Expand All @@ -659,6 +618,5 @@ bintray {

build.dependsOn verifyDistributions
bintrayUpload.dependsOn verifyDistributions
afterReleaseBuild.dependsOn bintrayUpload
bintrayUpload.mustRunAfter(distTar)
bintrayUpload.mustRunAfter(distZip)

0 comments on commit 9a16021

Please sign in to comment.