Author: pderop
Date: Sun Feb 28 21:31:59 2016
New Revision: 1732800
URL: http://svn.apache.org/viewvc?rev=1732800&view=rev
Log:
Fixed release process: once the tagged version is created, then release the
necessary bundles under bndtools before running the "gradlew makeStaging"
command.
Modified:
felix/trunk/dependencymanager/release/README.release
Modified: felix/trunk/dependencymanager/release/README.release
URL:
http://svn.apache.org/viewvc/felix/trunk/dependencymanager/release/README.release?rev=1732800&r1=1732799&r2=1732800&view=diff
==============================================================================
--- felix/trunk/dependencymanager/release/README.release (original)
+++ felix/trunk/dependencymanager/release/README.release Sun Feb 28 21:31:59
2016
@@ -22,18 +22,8 @@ Before you can start staging a release c
* make sure there are no dependencies on snapshots/unreleased versions;
* increment the ext.dmRelease parameter in release/build.gradle, if not
already done, and commit.
* check if release notes are up-to-date, in release/resources/changelog.txt
-* under bndtools, release (only) the bundles that needs to be released (using
"Release workspace bundles" menu).
* create a tagged version of the sources in preparation of the release
candidate.
-Release only the necessary bundles
-===================================
-
-Click on the bndtools "Release workspace bundles", and release the bundles
that have been modified and need to be released.
-Don't release other unmodified bundles.
-Once done, under the shell prompt, go to the "cnf/releaserepo/" directory, svn
remove the previous old released bundles,
-and svn add the new released bundles.
-refresh the repositories under bndtools, and commit.
-
Create a tagged version
=======================
@@ -60,7 +50,19 @@ $ ./gradlew jar
$ ./gradlew test
$ ./gradlew check
-create the staging:
+Now release under bndtools only the necessary bundles:
+
+- Click on the bndtools "Release workspace bundles", and release the bundles
that have been modified and need to be released.
+
+currently, the bundles that can be released are:
+
+* org.apache.felix.dependencymanager
+* org.apache.felix.dependencymanager.shell
+* org.apache.felix.dependencymanager.annotation
+* org.apache.felix.dependencymanager.runtime
+* org.apache.felix.dependencymanager.lambda
+
+- create the staging:
$ ./gradlew makeStaging (this will create ./release/staging/ directory)
@@ -117,6 +119,9 @@ Promoting the release:
Move the artifacts from the development area to the final release location at
https://dist.apache.org/repos/dist/release/felix by invoking the following
target:
+You can now get back to your felix-trunk bndtools workspace, and import the
released bundles, in your "Release" repository.
+Once done, manually svn add the new released bundles, and svn remove the
previous bundles (in cnf/releaserepo/...)
+
$ ./gradlew promoteToRelease
Cancelling the release