patches for DPDK stable branches
 help / color / 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, back to index

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

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox