You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by lr...@apache.org on 2016/01/28 23:08:18 UTC

incubator-systemml git commit: Add release script strawman

Repository: incubator-systemml
Updated Branches:
  refs/heads/master 74a7f2861 -> c912ca46a


Add release script strawman


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

Branch: refs/heads/master
Commit: c912ca46aee8acd0cd4d147bf7d4aa2024c06dea
Parents: 74a7f28
Author: Luciano Resende <lr...@apache.org>
Authored: Thu Jan 28 14:07:34 2016 -0800
Committer: Luciano Resende <lr...@apache.org>
Committed: Thu Jan 28 14:07:34 2016 -0800

----------------------------------------------------------------------
 dev/release/release-build.sh | 47 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/c912ca46/dev/release/release-build.sh
----------------------------------------------------------------------
diff --git a/dev/release/release-build.sh b/dev/release/release-build.sh
new file mode 100644
index 0000000..390ed6c
--- /dev/null
+++ b/dev/release/release-build.sh
@@ -0,0 +1,47 @@
+#!/usr/bin/env bash
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+
+# Display commands as they are executed
+set -x
+
+# BUILD and install in the current directory
+ROOT=`pwd`
+BUILD=`pwd`/target
+RELEASE=`pwd`/target/RELEASE
+
+#For testing
+#mvn clean verify gpg:sign install:install deploy:deploy -DaltDeploymentRepository=id::default::file:$RELEASE -Pdistribution,rat  -Dgpg.skip -DskipTests -Darguments="-DskipTests"
+
+#For publishing
+#mvn clean verify gpg:sign install:install deploy:deploy -Dgpg.passphrase=tuscany -DaltDeploymentRepository=apache.staging::default::https://repository.apache.org/service/local/staging/deploy/maven2 -Pdistribution,rat  -Dgpg.skip -DskipTests -Darguments="-DskipTests"
+mvn clean verify gpg:sign install:install deploy:deploy -Dgpg.passphrase=tuscany -Pdistribution,rat -DskipTests -Darguments="-DskipTests"
+
+mkdir $RELEASE/
+cp $BUILD/systemml-* $RELEASE/
+cd $RELEASE
+
+# sign
+#for i in *.zip *.gz; do gpg --output $i.asc --detach-sig --armor $i; done
+for i in *.zip *.gz; do openssl md5 -hex $i | sed 's/MD5(\([^)]*\))= \([0-9a-f]*\)/\2 *\1/' > $i.md5; done
+
+cp $BUILD/rat.txt $RELEASE/
+
+# copy to apache for review
+# scp $RELEASE/* lresende@people.apache.org:/home/lresende/public_html/systemml/0.9.0
\ No newline at end of file