Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F4C318A12 for ; Wed, 10 Jun 2015 08:51:21 +0000 (UTC) Received: (qmail 11654 invoked by uid 500); 10 Jun 2015 08:51:21 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 11610 invoked by uid 500); 10 Jun 2015 08:51:21 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 11601 invoked by uid 99); 10 Jun 2015 08:51:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 08:51:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Jun 2015 08:49:10 +0000 Received: (qmail 11368 invoked by uid 99); 10 Jun 2015 08:50:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 08:50:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 627D6DFBC8; Wed, 10 Jun 2015 08:50:57 +0000 (UTC) From: uce To: issues@flink.incubator.apache.org Reply-To: issues@flink.incubator.apache.org References: In-Reply-To: Subject: [GitHub] flink pull request: [scripts] cleanup release script and make it m... Content-Type: text/plain Message-Id: <20150610085057.627D6DFBC8@git1-us-west.apache.org> Date: Wed, 10 Jun 2015 08:50:57 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Github user uce commented on a diff in the pull request: https://github.com/apache/flink/pull/811#discussion_r32098664 --- Diff: tools/create_release_files.sh --- @@ -36,57 +58,59 @@ if [[ `basename $CURR_DIR` != "tools" ]] ; then exit 1 fi +## +## Variables with defaults (if not overwritten by environment) +## GPG_PASSPHRASE=${GPG_PASSPHRASE:-XXX} GPG_KEY=${GPG_KEY:-XXX} +GIT_AUTHOR=${GIT_AUTHOR:-"Your name "} GIT_BRANCH=${GIT_BRANCH:-branch-1.0} OLD_VERSION=${OLD_VERSION:-0.6-incubating-SNAPSHOT} RELEASE_VERSION=${NEW_VERSION} RELEASE_CANDIDATE=${RELEASE_CANDIDATE:-rc1} NEW_VERSION_HADOOP1=${NEW_VERSION_HADOOP1:-"$RELEASE_VERSION-hadoop1"} -USER_NAME=${USER_NAME:-pwendell} +USER_NAME=${USER_NAME:-yourapacheidhere} MVN=${MVN:-mvn} GPG=${GPG:-gpg} -SHASUM=${SHASUM:-sha512sum} -MD5SUM=${MD5SUM:-md5sum} -sonatype_user=${sonatype_user:-rmetzger} #legacy variable name referring to maven +sonatype_user=${sonatype_user:-yourapacheidhere} sonatype_pw=${sonatype_pw:-XXX} -#echo $NEW_VERSION_HADOOP1 -#sleep 5 -#set -e -# create source package +if [ "$(uname)" == "Darwin" ]; then + SHASUM=shasum + MD5SUM=md5 --- End diff -- I didn't know that md5sum correctly works with the reversed files as well. So this is optional. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---