From patchwork Wed Aug 3 08:40:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 73198 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp664312qga; Wed, 3 Aug 2016 01:41:41 -0700 (PDT) X-Received: by 10.55.78.213 with SMTP id c204mr16513582qkb.48.1470213701035; Wed, 03 Aug 2016 01:41:41 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t189si1541683qkd.292.2016.08.03.01.41.40; Wed, 03 Aug 2016 01:41:41 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B202B6807D; Wed, 3 Aug 2016 08:41:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 224E26807F; Wed, 3 Aug 2016 08:41:16 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B164A6807A; Wed, 3 Aug 2016 08:41:13 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by lists.linaro.org (Postfix) with ESMTPS id D5BB36806A for ; Wed, 3 Aug 2016 08:41:11 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id g62so155905817lfe.3 for ; Wed, 03 Aug 2016 01:41:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mJxVSquUiegyVsW2MFV8+U3JdKwwi19LPRgpoWqhpCk=; b=Ms8rxYRjZ1gJrx4OBUyiB0EyADwj2S29dzj2bIR1Rv5KGX3hKl3i9kI7EfAak81oKy 0M7yQW9ii0fej5lZNJWYp41Q8Hkg+eQrm+fYtFXLN49v+AatSw4CsJOBOy+SGxeSN9Wf lwcyp8ECl9uz5XH7IiPmwvdmyjEibJCO1ukVqUDBO/QagzL7Q3Sq15BuTVi+evSdv5ri 66rw7nP3R+GxCGeJD1Jpoh0SAGa5co7nWU2AaKD273g+R37eWOo24G2/aNQhcv74Lrrq 1YSsZU/QKwYXVZECunQH66k0btVG0Q34ZyDKnnLkOced1HvOJjnQC/BGS1HwZ9qfi+Go kiBQ== X-Gm-Message-State: AEkooutMzVxMGOgnpvMCE7xrQ892rCPIfpytvuoyXtsAPL9w/FR1c/esF1FgytgOLmDXbZ7AX2w= X-Received: by 10.46.5.80 with SMTP id 77mr18591980ljf.7.1470213670685; Wed, 03 Aug 2016 01:41:10 -0700 (PDT) Received: from maxim-Aspire-VN7-791.d-systems.local ([185.75.190.112]) by smtp.gmail.com with ESMTPSA id p82sm1231910lfd.15.2016.08.03.01.41.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Aug 2016 01:41:09 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Wed, 3 Aug 2016 11:40:58 +0300 Message-Id: <1470213659-4120-2-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 In-Reply-To: <1470213659-4120-1-git-send-email-maxim.uvarov@linaro.org> References: <1470213659-4120-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: Architecture patch Subject: [lng-odp] [MONARCH_LTS PATCH PATCH 1/2] scripts/git_hash.sh: to support monarch_lts tags X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Maxim Uvarov --- scripts/git_hash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.1.250.gff4ea60 diff --git a/scripts/git_hash.sh b/scripts/git_hash.sh index 336eb01..83123f4 100755 --- a/scripts/git_hash.sh +++ b/scripts/git_hash.sh @@ -7,7 +7,7 @@ fi ROOTDIR=${1} if [ -d ${ROOTDIR}/.git ]; then - hash=$(git --git-dir=${ROOTDIR}/.git describe --match 'v[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*'\ + hash=$(git --git-dir=${ROOTDIR}/.git describe --match 'v[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*-monarch_lts'\ | tr -d "\n") if [[ $(git --git-dir=${ROOTDIR}/.git diff --shortstat 2> /dev/null \ | tail -n1) != "" ]]; then