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