Repository: incubator-systemml
Updated Branches:
  refs/heads/branch-0.12 6837b9a2e -> 6648ae571


[SYSTEMML-1191] Create RC builds from branch


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/6648ae57
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/6648ae57
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/6648ae57

Branch: refs/heads/branch-0.12
Commit: 6648ae5710ece1042d8b8e4f0d6ec7a62756bf59
Parents: 6837b9a
Author: Arvind Surve <[email protected]>
Authored: Thu Jan 26 11:22:17 2017 -0800
Committer: Arvind Surve <[email protected]>
Committed: Thu Jan 26 11:22:17 2017 -0800

----------------------------------------------------------------------
 dev/release/release-build.sh | 24 +++++++++++++-----------
 pom.xml                      |  2 +-
 2 files changed, 14 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/6648ae57/dev/release/release-build.sh
----------------------------------------------------------------------
diff --git a/dev/release/release-build.sh b/dev/release/release-build.sh
index 54152f2..a118997 100755
--- a/dev/release/release-build.sh
+++ b/dev/release/release-build.sh
@@ -61,6 +61,9 @@ release-build.sh --release-prepare 
--releaseVersion="0.11.0-incubating" --develo
 release-build.sh --release-prepare --releaseVersion="0.11.0-incubating" 
--developmentVersion="0.12.0-SNAPSHOT" --releaseRc="rc1" 
--tag="v0.11.0-incubating-rc1"
 release-build.sh --release-prepare --releaseVersion="0.11.0-incubating" 
--developmentVersion="0.12.0-SNAPSHOT" --releaseRc="rc1" 
--tag="v0.11.0-incubating-rc1"  --gitCommitHash="a874b73" --dryRun
 
+# Create 0.12 RC2 builds from branch-0.12 
+./release-build.sh --release-prepare --releaseVersion="0.12.0-incubating" 
--developmentVersion="0.12.1-incubating-SNAPSHOT" --releaseRc="rc2" 
--tag="v0.12.0-incubating-rc2" --gitCommitHash="branch-0.12"
+
 release-build.sh --release-publish --gitCommitHash="a874b73"
 release-build.sh --release-publish --gitTag="v0.11.0-incubating-rc1"
 
@@ -141,12 +144,12 @@ while [ "${1+defined}" ]; do
 done
 
 
-for env in GPG_PASSPHRASE; do
-  if [ -z "${!env}" ]; then
-    echo "ERROR: $env must be set to run this script"
-    exit_with_usage
-  fi
-done
+if [[ -z "$GPG_PASSPHRASE" ]]; then
+    echo 'The environment variable GPG_PASSPHRASE is not set. Enter the 
passphrase to'
+    echo 'unlock the GPG signing key that will be used to sign the release!'
+    echo
+    stty -echo && printf "GPG passphrase: " && read GPG_PASSPHRASE && printf 
'\n' && stty echo
+fi
 
 if [[ "$RELEASE_PREPARE" == "true" && -z "$RELEASE_VERSION" ]]; then
     echo "ERROR: --releaseVersion must be passed as an argument to run this 
script"
@@ -223,7 +226,7 @@ echo "  "
 function checkout_code {
     # Checkout code
     rm -rf $RELEASE_WORK_DIR
-    mkdir $RELEASE_WORK_DIR
+    mkdir -p $RELEASE_WORK_DIR
     cd $RELEASE_WORK_DIR
     git clone https://git-wip-us.apache.org/repos/asf/incubator-systemml.git
     cd incubator-systemml
@@ -245,7 +248,7 @@ if [[ "$RELEASE_PREPARE" == "true" ]]; then
     cd $RELEASE_WORK_DIR/incubator-systemml
 
     # Build and prepare the release
-    $MVN $PUBLISH_PROFILES release:clean release:prepare $DRY_RUN 
-Dgpg.passphrase="$GPG_PASSPHRASE" -DskipTests -Darguments="-DskipTests" 
-DreleaseVersion="$RELEASE_VERSION" -DdevelopmentVersion="$DEVELOPMENT_VERSION" 
-Dtag="$RELEASE_TAG"
+    $MVN $PUBLISH_PROFILES release:clean release:prepare $DRY_RUN 
-Darguments="-Dgpg.passphrase=\"$GPG_PASSPHRASE\" -DskipTests" 
-DreleaseVersion="$RELEASE_VERSION" -DdevelopmentVersion="$DEVELOPMENT_VERSION" 
-Dtag="$RELEASE_TAG"
 
     cd $RELEASE_WORK_DIR
 
@@ -282,8 +285,7 @@ if [[ "$RELEASE_PUBLISH" == "true" ]]; then
     cd $RELEASE_WORK_DIR/incubator-systemml
 
     #Deploy scala 2.10
-    mvn 
-DaltDeploymentRepository=apache.releases.https::default::https://repository.apache.org/service/local/staging/deploy/maven2
 clean package gpg:sign install:install deploy:deploy -DskiptTests 
-Darguments="-DskipTests" -Dgpg.passphrase=$GPG_PASSPHRASE $PUBLISH_PROFILES
-
+    mvn 
-DaltDeploymentRepository=apache.releases.https::default::https://repository.apache.org/service/local/staging/deploy/maven2
 clean package gpg:sign install:install deploy:deploy -DskiptTests 
-Darguments="-DskipTests -Dgpg.passphrase=\"$GPG_PASSPHRASE\"" 
-Dgpg.passphrase="$GPG_PASSPHRASE" $PUBLISH_PROFILES
     cd "$BASE_DIR" #exit target
 
     exit 0
@@ -308,7 +310,7 @@ if [[ "$RELEASE_SNAPSHOT" == "true" ]]; then
     fi
 
     #Deploy scala 2.10
-    $MVN 
-DaltDeploymentRepository=apache.snapshots.https::default::https://repository.apache.org/content/repositories/snapshots
 clean package gpg:sign install:install deploy:deploy -DskiptTests 
-Darguments="-DskipTests" -Dgpg.passphrase=$GPG_PASSPHRASE $PUBLISH_PROFILES
+    $MVN 
-DaltDeploymentRepository=apache.snapshots.https::default::https://repository.apache.org/content/repositories/snapshots
 clean package gpg:sign install:install deploy:deploy -DskiptTests 
-Darguments="-DskipTests -Dgpg.passphrase=\"$GPG_PASSPHRASE\"" 
-Dgpg.passphrase="$GPG_PASSPHRASE" $PUBLISH_PROFILES
 
     cd "$BASE_DIR" #exit target
     exit 0

http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/6648ae57/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4bccc2b..9ac7e24 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
                <version>18</version>
        </parent>
        <groupId>org.apache.systemml</groupId>
-       <version>0.13.0-incubating-SNAPSHOT</version>
+       <version>0.12.1-incubating-SNAPSHOT</version>
        <artifactId>systemml</artifactId>
        <packaging>jar</packaging>
        <name>SystemML</name>

Reply via email to