You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2019/04/27 08:11:56 UTC
[incubator-tuweni] 48/49: Apply fixes to release script and
distribution
This is an automated email from the ASF dual-hosted git repository.
toulmean pushed a commit to branch 1.0
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git
commit 1aed3bcaaf78e3bbcd38bc38145c5cb0174b2284
Author: Antoine Toulme <to...@apache.org>
AuthorDate: Fri Apr 26 16:21:09 2019 -0700
Apply fixes to release script and distribution
---
RELEASE.md | 25 ++++++++++++++++++-------
build.gradle | 3 +--
dist/build.gradle | 2 ++
3 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/RELEASE.md b/RELEASE.md
index 273e261..0526488 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -38,10 +38,20 @@ TODO : point to commit example
### Build the artifacts
+Set up the version strategy:
```
-export ENABLE_SIGNING=true
export BUILD_RELEASE=true
-./gradlew clean publish
+```
+
+Build the artifacts
+```
+./gradlew assemble
+```
+
+Sign and publish
+```
+export ENABLE_SIGNING=true
+./gradlew publish
```
This checks the code, the licenses, runs all the tests and creates all the artifacts (binaries, sources, javadoc).
@@ -68,16 +78,17 @@ TODO
Copy the distribution artifacts to it - make sure to change the name to ${RELEASE VERSION}-incubating:
```
-cp build/distributions/tuweni-${RELEASE VERSION}.zip _staged/tuweni-${RELEASE VERSION}-incubating.zip
+cp dist/build/distributions/tuweni-${RELEASE VERSION}.zip _staged/tuweni-${RELEASE VERSION}-incubating.zip
+cp dist/build/distributions/tuweni-${RELEASE VERSION}.tgz _staged/tuweni-${RELEASE VERSION}-incubating.tgz
```
-Copy the site to it:
+Commit the changes
```
-TODO
+cd _staged
+svn add tuweni-*
+svn ci -m "Add Apache Tuweni ${RELEASE VERSION} release candidate"
```
-Commit the changes
-
### Tag the git repository
```
diff --git a/build.gradle b/build.gradle
index bae3c9a..33ef5e7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -14,7 +14,6 @@ plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.20'
id 'org.jetbrains.dokka' version '0.9.17'
id 'maven-publish'
- id 'distribution'
}
description = 'A set of libraries and other tools to aid development of blockchain and other decentralized software in Java and other JVM languages'
@@ -265,7 +264,7 @@ allprojects {
}
}
- if (project.name != 'eth-reference-tests') {
+ if (project.name != 'eth-reference-tests' && project.name != 'dist') {
artifacts {
if (project != rootProject) {
diff --git a/dist/build.gradle b/dist/build.gradle
index 9cd624b..0d55d8c 100644
--- a/dist/build.gradle
+++ b/dist/build.gradle
@@ -2,6 +2,8 @@ description = 'Tuweni distribution.'
apply plugin: 'distribution'
+jar { enabled = false }
+
distributions {
main {
baseName = 'tuweni'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org