Fixed release process: once the tagged version is created, then release the necessary bundles under bndtools before running the "gradlew makeStaging" command.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1732800 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/release/README.release b/dependencymanager/release/README.release
index bb5fe35..0ebe85a 100644
--- a/dependencymanager/release/README.release
+++ b/dependencymanager/release/README.release
@@ -22,18 +22,8 @@
* 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 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 @@
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