[dpdk-stable] [PATCH v2] lib: update LTS releases

Luca Boccassi bluca at debian.org
Tue Apr 9 18:09:10 CEST 2019


On Tue, 2019-04-09 at 16:30 +0100, Kevin Traynor wrote:
> 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"

Acked-by: Luca Boccassi <bluca at debian.org>

We should probably have lib.sh source a local config file that's in
.gitignore for the options

-- 
Kind regards,
Luca Boccassi


More information about the stable mailing list