[dpdk-stable] [PATCH] lib: update LTS releases
Kevin Traynor
ktraynor at redhat.com
Tue Apr 9 17:23:06 CEST 2019
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 <ktraynor at redhat.com>
---
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
More information about the stable
mailing list