patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH stable-scripts 1/2] Update version mangling
@ 2020-03-17 10:19 luca.boccassi
  2020-03-17 10:19 ` [dpdk-stable] [PATCH stable-scripts 2/2] Make failed_list and known_issues optional luca.boccassi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: luca.boccassi @ 2020-03-17 10:19 UTC (permalink / raw)
  To: stable; +Cc: ktraynor

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

The version has moved to a VERSION file, and the spec file has been
removed.

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

diff --git a/5-make-release-commit b/5-make-release-commit
index a73efa7..4926ab1 100755
--- a/5-make-release-commit
+++ b/5-make-release-commit
@@ -11,8 +11,12 @@ change_version()
 		-i $DPDK_DIR/lib/librte_eal/common/include/rte_version.h
 	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
+	if [ -e $DPDK_DIR/pkg/dpdk.spec ]; then
+		sed "s/Version: .*/Version: ${stable_release}/" -i $DPDK_DIR/pkg/dpdk.spec
+	fi
+	if [ -e $DPDK_DIR/VERSION ]; then
+		echo "${stable_release}" > $DPDK_DIR/VERSION
+	elif [ -e $DPDK_DIR/meson.build ]; then
 		sed "s/version: '.*',/version: '${stable_release}',/" -i $DPDK_DIR/meson.build
 	fi
 }
-- 
2.20.1


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

end of thread, other threads:[~2020-03-18 12:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17 10:19 [dpdk-stable] [PATCH stable-scripts 1/2] Update version mangling luca.boccassi
2020-03-17 10:19 ` [dpdk-stable] [PATCH stable-scripts 2/2] Make failed_list and known_issues optional luca.boccassi
2020-03-18 12:08   ` Kevin Traynor
2020-03-18 12:15 ` [dpdk-stable] [PATCH stable-scripts 1/2] Update version mangling Kevin Traynor
2020-03-18 12:47 ` 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).