patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation
@ 2018-09-07 12:33 Luca Boccassi
  2018-09-07 12:33 ` [dpdk-stable] [PATCH stable-scripts 2/2] Update Meson version if present Luca Boccassi
  2018-09-07 18:46 ` [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation Yongseok Koh
  0 siblings, 2 replies; 4+ messages in thread
From: Luca Boccassi @ 2018-09-07 12:33 UTC (permalink / raw)
  To: stable; +Cc: christian.ehrhardt, yskoh, ktraynor

Signed-off-by: Luca Boccassi <bluca@debian.org>
---
 4-final-review | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/4-final-review b/4-final-review
index 0c2a64e..16a71e5 100755
--- a/4-final-review
+++ b/4-final-review
@@ -7,7 +7,7 @@ assert_current_branch
 RTE_VER_RELEASE=$(awk '/#define RTE_VER_RELEASE/ { print $3 }' \
 	$DPDK_DIR/lib/librte_eal/common/include/rte_version.h)
 [ $RTE_VER_RELEASE -eq 16 ] && {
-	$RTE_VER_RELEASE=1
+	RTE_VER_RELEASE=1
 } || {
 	let RTE_VER_RELEASE+=1
 }
-- 
2.18.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dpdk-stable] [PATCH stable-scripts 2/2] Update Meson version if present
  2018-09-07 12:33 [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation Luca Boccassi
@ 2018-09-07 12:33 ` Luca Boccassi
  2018-09-07 18:47   ` Yongseok Koh
  2018-09-07 18:46 ` [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation Yongseok Koh
  1 sibling, 1 reply; 4+ messages in thread
From: Luca Boccassi @ 2018-09-07 12:33 UTC (permalink / raw)
  To: stable; +Cc: christian.ehrhardt, yskoh, ktraynor

Signed-off-by: Luca Boccassi <bluca@debian.org>
---
 4-final-review        | 3 +++
 5-make-release-commit | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/4-final-review b/4-final-review
index 16a71e5..b01fcdd 100755
--- a/4-final-review
+++ b/4-final-review
@@ -23,6 +23,9 @@ change_version()
 	sed "s/#define RTE_VER_RELEASE .*/#define RTE_VER_RELEASE ${RTE_VER_RELEASE}/" \
 		-i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
 	sed "s/Version: .*/Version: ${stable_release_rc}/" -i $DPDK_DIR/pkg/dpdk.spec
+	if [ -e $DPDK_DIR/meson.build ]; then
+		sed "s/version: '.*',/version: '${stable_release_rc}',/" -i $DPDK_DIR/meson.build
+	fi
 }
 
 do_commit()
diff --git a/5-make-release-commit b/5-make-release-commit
index 56f51da..17aa535 100755
--- a/5-make-release-commit
+++ b/5-make-release-commit
@@ -12,6 +12,9 @@ change_version()
 	sed "s/#define RTE_VER_RELEASE .*/#define RTE_VER_RELEASE 16/" \
 		-i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
 	sed "s/Version: .*/Version: ${stable_release}/" -i $DPDK_DIR/pkg/dpdk.spec
+	if [ -e $DPDK_DIR/meson.build ]; then
+		sed "s/version: '.*',/version: '${stable_release}',/" -i $DPDK_DIR/meson.build
+	fi
 }
 
 update_release_note()
-- 
2.18.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation
  2018-09-07 12:33 [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation Luca Boccassi
  2018-09-07 12:33 ` [dpdk-stable] [PATCH stable-scripts 2/2] Update Meson version if present Luca Boccassi
@ 2018-09-07 18:46 ` Yongseok Koh
  1 sibling, 0 replies; 4+ messages in thread
From: Yongseok Koh @ 2018-09-07 18:46 UTC (permalink / raw)
  To: Luca Boccassi; +Cc: stable, christian.ehrhardt, ktraynor


> On Sep 7, 2018, at 5:33 AM, Luca Boccassi <bluca@debian.org> wrote:
> 
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
> 4-final-review | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/4-final-review b/4-final-review
> index 0c2a64e..16a71e5 100755
> --- a/4-final-review
> +++ b/4-final-review
> @@ -7,7 +7,7 @@ assert_current_branch
> RTE_VER_RELEASE=$(awk '/#define RTE_VER_RELEASE/ { print $3 }' \
> 	$DPDK_DIR/lib/librte_eal/common/include/rte_version.h)
> [ $RTE_VER_RELEASE -eq 16 ] && {
> -	$RTE_VER_RELEASE=1
> +	RTE_VER_RELEASE=1

Oops, by bad.

Acked-by: Yongseok Koh <yskoh@mellanox.com>

Thanks

> } || {
> 	let RTE_VER_RELEASE+=1
> }
> -- 
> 2.18.0
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-stable] [PATCH stable-scripts 2/2] Update Meson version if present
  2018-09-07 12:33 ` [dpdk-stable] [PATCH stable-scripts 2/2] Update Meson version if present Luca Boccassi
@ 2018-09-07 18:47   ` Yongseok Koh
  0 siblings, 0 replies; 4+ messages in thread
From: Yongseok Koh @ 2018-09-07 18:47 UTC (permalink / raw)
  To: Luca Boccassi; +Cc: stable, christian.ehrhardt, ktraynor


> On Sep 7, 2018, at 5:33 AM, Luca Boccassi <bluca@debian.org> wrote:
> 
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
Acked-by: Yongseok Koh <yskoh@mellanox.com>
 
Thanks

> 4-final-review        | 3 +++
> 5-make-release-commit | 3 +++
> 2 files changed, 6 insertions(+)
> 
> diff --git a/4-final-review b/4-final-review
> index 16a71e5..b01fcdd 100755
> --- a/4-final-review
> +++ b/4-final-review
> @@ -23,6 +23,9 @@ change_version()
> 	sed "s/#define RTE_VER_RELEASE .*/#define RTE_VER_RELEASE ${RTE_VER_RELEASE}/" \
> 		-i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
> 	sed "s/Version: .*/Version: ${stable_release_rc}/" -i $DPDK_DIR/pkg/dpdk.spec
> +	if [ -e $DPDK_DIR/meson.build ]; then
> +		sed "s/version: '.*',/version: '${stable_release_rc}',/" -i $DPDK_DIR/meson.build
> +	fi
> }
> 
> do_commit()
> diff --git a/5-make-release-commit b/5-make-release-commit
> index 56f51da..17aa535 100755
> --- a/5-make-release-commit
> +++ b/5-make-release-commit
> @@ -12,6 +12,9 @@ change_version()
> 	sed "s/#define RTE_VER_RELEASE .*/#define RTE_VER_RELEASE 16/" \
> 		-i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
> 	sed "s/Version: .*/Version: ${stable_release}/" -i $DPDK_DIR/pkg/dpdk.spec
> +	if [ -e $DPDK_DIR/meson.build ]; then
> +		sed "s/version: '.*',/version: '${stable_release}',/" -i $DPDK_DIR/meson.build
> +	fi
> }
> 
> update_release_note()
> -- 
> 2.18.0
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-07 18:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-07 12:33 [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation Luca Boccassi
2018-09-07 12:33 ` [dpdk-stable] [PATCH stable-scripts 2/2] Update Meson version if present Luca Boccassi
2018-09-07 18:47   ` Yongseok Koh
2018-09-07 18:46 ` [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation Yongseok Koh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).