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 1F35FA0096 for ; Tue, 9 Apr 2019 17:23:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C2D084D3A; Tue, 9 Apr 2019 17:23:15 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 6B1FD4D3A for ; Tue, 9 Apr 2019 17:23:14 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9609F300413E; Tue, 9 Apr 2019 15:23:13 +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 AFE245D71E; Tue, 9 Apr 2019 15:23:11 +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:23:06 +0100 Message-Id: <20190409152306.28880-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Tue, 09 Apr 2019 15:23:13 +0000 (UTC) Subject: [dpdk-stable] [PATCH] 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 --- 6-announce-release | 2 +- lib.sh | 9 +++++---- 2 files changed, 6 insertions(+), 5 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..71351f4 100644 --- a/lib.sh +++ b/lib.sh @@ -1,6 +1,6 @@ #!/bin/bash -DPDK_DIR=$HOME/dpdk -STABLE_DIR=$HOME/stable +DPDK_DIR=/home/ktraynor/code/lts/dpdk-stable +STABLE_DIR=/home/ktraynor/code/lts/dpdk-stable GIT="git --git-dir=$DPDK_DIR/.git" SIGNATURE="PLACEHOLDER" @@ -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