gobblin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/2] incubator-gobblin git commit: [GOBBLIN-167] Add dev tooling for signing releases
Date Thu, 27 Jul 2017 09:45:08 GMT
Repository: incubator-gobblin
Updated Branches:
  refs/heads/master c9ad0a8fc -> 4a7853512


[GOBBLIN-167] Add dev tooling for signing releases


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

Branch: refs/heads/master
Commit: 7a9e097b7641b8f382447895be1151f182ec4ac8
Parents: 6cd5aaf
Author: Abhishek Tiwari <abhishektiwari.btech@gmail.com>
Authored: Thu Jul 27 02:39:04 2017 -0700
Committer: Abhishek Tiwari <abhishektiwari.btech@gmail.com>
Committed: Thu Jul 27 02:39:04 2017 -0700

----------------------------------------------------------------------
 dev/sign.sh | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/7a9e097b/dev/sign.sh
----------------------------------------------------------------------
diff --git a/dev/sign.sh b/dev/sign.sh
new file mode 100644
index 0000000..69d764a
--- /dev/null
+++ b/dev/sign.sh
@@ -0,0 +1,30 @@
+#!/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.
+#
+
+# Use this to sign the tar balls generated from
+# python setup.py sdist --formats=gztar
+# ie. sign.sh <my_tar_ball>
+# you will still be required to type in your signing key password
+# or it needs to be available in your keychain
+
+NAME=${1}
+
+gpg --armor --output ${NAME}.asc --detach-sig ${NAME}
+gpg --print-md SHA512 ${NAME} > ${NAME}.sha
+gpg --print-md MD5 ${NAME} > ${NAME}.md5
+


Mime
View raw message