You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/04/17 07:16:01 UTC

svn commit: r19168 - /dev/incubator/weex/build_artifacts.sh

Author: sospartan
Date: Mon Apr 17 07:16:00 2017
New Revision: 19168

Log:
add build script

Added:
    dev/incubator/weex/build_artifacts.sh   (with props)

Added: dev/incubator/weex/build_artifacts.sh
==============================================================================
--- dev/incubator/weex/build_artifacts.sh (added)
+++ dev/incubator/weex/build_artifacts.sh Mon Apr 17 07:16:00 2017
@@ -0,0 +1,14 @@
+#!/bin/bash -eu
+function help {
+    echo 'HELP:'
+    echo '  build_artifacts.sh {file} {gittag}'
+}
+if [ $# -lt 2 ]
+  then
+    help
+    exit 1
+fi
+curl -o $1 "https://git-wip-us.apache.org/repos/asf?p=incubator-weex.git;a=snapshot;h=refs/tags/$2;sf=tgz"
+gpg --armor --output "$1.asc" --detach-sig $1
+gpg --print-md MD5 $1 > "$1.md5"
+gpg --print-md SHA1 $1 > "$1.sha"
\ No newline at end of file

Propchange: dev/incubator/weex/build_artifacts.sh
------------------------------------------------------------------------------
    svn:executable = *