From patchwork Wed Aug 10 15:25:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 73676 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp460435qga; Wed, 10 Aug 2016 08:26:53 -0700 (PDT) X-Received: by 10.55.182.135 with SMTP id g129mr5464438qkf.128.1470842813643; Wed, 10 Aug 2016 08:26:53 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 40si24440932qkx.312.2016.08.10.08.26.53; Wed, 10 Aug 2016 08:26:53 -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 D524E607FE; Wed, 10 Aug 2016 15:26:32 +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 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 D152861570; Wed, 10 Aug 2016 15:26:08 +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 D721C60F0B; Wed, 10 Aug 2016 15:26:02 +0000 (UTC) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by lists.linaro.org (Postfix) with ESMTPS id 69C9960924 for ; Wed, 10 Aug 2016 15:26:00 +0000 (UTC) Received: by mail-wm0-f46.google.com with SMTP id q128so100801359wma.1 for ; Wed, 10 Aug 2016 08:26:00 -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=YzhPevbnK9F9ayCxSnakRwTmvsvocCQnoyYWncTeI+Y=; b=aKaV2wkCAqJPBuMYOwidTsENBKPl3I1lL7sN2nwsEeJji4w3XcH64Q/ZjVLwA7p5qp zo5oLuk5p+GCAGGNwAGzzWA8F8+iL/33YtGwjonXKv+Xrnp6JhCBDv+a+NfqPqDr563x FyL4Sd/LhuxUyNu61m+dQuxSBf9r7k4pPXHXJav7wcRyxK2uxIwiBUOSOwrphN69QRSh RrCwxpwp9E7keuDX2sDdle6RAuEGoFiGY0x1mQfSATAERKSOAQ0KVKMiD3z4qUPE7Zt8 iho+mHSrZfrl7ypUHt8YT0Gabh4yuZR5s9h334LJv/0s992/PRi45IYi7Is/Sh50KQrk QPBg== X-Gm-Message-State: AEkoouuI0JOdERnLroHNuyCrQ0zXYr4meoZuC00qo/pCsNAuFyBawxkQl0HP6j/W+Q0glcZJw38= X-Received: by 10.25.212.5 with SMTP id l5mr847355lfg.73.1470842759161; Wed, 10 Aug 2016 08:25:59 -0700 (PDT) Received: from localhost.localdomain ([83.220.237.18]) by smtp.gmail.com with ESMTPSA id h30sm7625424lji.39.2016.08.10.08.25.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Aug 2016 08:25:58 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Wed, 10 Aug 2016 18:25:49 +0300 Message-Id: <1470842750-25147-2-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 In-Reply-To: <1470842750-25147-1-git-send-email-maxim.uvarov@linaro.org> References: <1470842750-25147-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: Architecture patch Subject: [lng-odp] [MONARCH_LTS PATCHv2 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..35b8749 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'\ | tr -d "\n") if [[ $(git --git-dir=${ROOTDIR}/.git diff --shortstat 2> /dev/null \ | tail -n1) != "" ]]; then