patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH stable-scripts] Update VERSION when tagging rc
@ 2020-06-19 11:35 luca.boccassi
  2020-06-19 18:39 ` Kevin Traynor
  0 siblings, 1 reply; 2+ messages in thread
From: luca.boccassi @ 2020-06-19 11:35 UTC (permalink / raw)
  To: stable; +Cc: ktraynor

From: Luca Boccassi <luca.boccassi@microsoft.com>

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
---
 4-final-review | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/4-final-review b/4-final-review
index d44b824..c4fedb7 100755
--- a/4-final-review
+++ b/4-final-review
@@ -22,8 +22,12 @@ change_version()
 		-i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
 	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
+	if [ -e $DPDK_DIR/pkg/dpdk.spec ]; then
+		sed "s/Version: .*/Version: ${stable_release_rc}/" -i $DPDK_DIR/pkg/dpdk.spec
+	fi
+	if [ -e $DPDK_DIR/VERSION ]; then
+		echo "${stable_release_rc}" > $DPDK_DIR/VERSION
+	elif [ -e $DPDK_DIR/meson.build ]; then
 		sed "s/version: '.*',/version: '${stable_release_rc}',/" -i $DPDK_DIR/meson.build
 	fi
 }
-- 
2.20.1


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

* Re: [dpdk-stable] [PATCH stable-scripts] Update VERSION when tagging rc
  2020-06-19 11:35 [dpdk-stable] [PATCH stable-scripts] Update VERSION when tagging rc luca.boccassi
@ 2020-06-19 18:39 ` Kevin Traynor
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Traynor @ 2020-06-19 18:39 UTC (permalink / raw)
  To: luca.boccassi, stable

On 19/06/2020 12:35, luca.boccassi@gmail.com wrote:
> From: Luca Boccassi <luca.boccassi@microsoft.com>
> 
> Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
> ---
>  4-final-review | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/4-final-review b/4-final-review
> index d44b824..c4fedb7 100755
> --- a/4-final-review
> +++ b/4-final-review
> @@ -22,8 +22,12 @@ change_version()
>  		-i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
>  	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
> +	if [ -e $DPDK_DIR/pkg/dpdk.spec ]; then
> +		sed "s/Version: .*/Version: ${stable_release_rc}/" -i $DPDK_DIR/pkg/dpdk.spec
> +	fi
> +	if [ -e $DPDK_DIR/VERSION ]; then
> +		echo "${stable_release_rc}" > $DPDK_DIR/VERSION
> +	elif [ -e $DPDK_DIR/meson.build ]; then
>  		sed "s/version: '.*',/version: '${stable_release_rc}',/" -i $DPDK_DIR/meson.build
>  	fi
>  }
> 

Acked-by: Kevin Traynor <ktraynor@redhat.com>


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

end of thread, other threads:[~2020-06-19 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 11:35 [dpdk-stable] [PATCH stable-scripts] Update VERSION when tagging rc luca.boccassi
2020-06-19 18:39 ` Kevin Traynor

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).