From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 09C48A0096 for ; Tue, 9 Apr 2019 17:30:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B1AE04C8F; Tue, 9 Apr 2019 17:30:19 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id E6BA94C8F for ; Tue, 9 Apr 2019 17:30:17 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D8756308FBA6; Tue, 9 Apr 2019 15:30:16 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-94.ams2.redhat.com [10.36.117.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id BEC791001E65; Tue, 9 Apr 2019 15:30:13 +0000 (UTC) From: Kevin Traynor To: stable@dpdk.org, bluca@debian.org, yskoh@mellanox.com Cc: thomas@monjalon.net, ferruh.yigit@intel.com, Kevin Traynor Date: Tue, 9 Apr 2019 16:30:09 +0100 Message-Id: <20190409153009.29324-1-ktraynor@redhat.com> In-Reply-To: <20190409152306.28880-1-ktraynor@redhat.com> References: <20190409152306.28880-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Tue, 09 Apr 2019 15:30:17 +0000 (UTC) Subject: [dpdk-stable] [PATCH v2] lib: update LTS releases X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" This updates so "LTS" vs. "stable" will be used where appropriate. Also update 6-announce-release to use it in the body. Signed-off-by: Kevin Traynor --- v2: removed local changes from lib.sh (that's what I get for testing the patch) 6-announce-release | 2 +- lib.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/6-announce-release b/6-announce-release index 619065c..0a7a4fc 100755 --- a/6-announce-release +++ b/6-announce-release @@ -29,5 +29,5 @@ Subject: DPDK $(describe_release) released Hi all, -Here is a new stable release: +Here is a new $(stable_or_lts) release: https://fast.dpdk.org/rel/dpdk-${stable_release}.tar.xz diff --git a/lib.sh b/lib.sh index cf02d92..42d0669 100644 --- a/lib.sh +++ b/lib.sh @@ -45,5 +45,6 @@ get_last_release() describe_release() { - if [ "${stable_release%.*}" == "16.11" ]; then + if [ "${stable_release%.*}" == "17.11" ] || + [ "${stable_release%.*}" == "18.11" ] ; then echo "$stable_release (LTS)" else @@ -55,5 +56,5 @@ stable_or_lts() { # TODO: let it be data-file driven - if [ "${stable_release%.*}" == "16.11" ] || + if [ "${stable_release%.*}" == "18.11" ] || [ "${stable_release%.*}" == "17.11" ] ; then echo "LTS" -- 2.20.1