patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: stable@dpdk.org
Cc: christian.ehrhardt@canonical.com, yskoh@mellanox.com,
	ktraynor@redhat.com
Subject: [dpdk-stable] [PATCH stable-scripts 2/2] Update Meson version if present
Date: Fri,  7 Sep 2018 13:33:45 +0100	[thread overview]
Message-ID: <20180907123345.31775-2-bluca@debian.org> (raw)
In-Reply-To: <20180907123345.31775-1-bluca@debian.org>

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

  reply	other threads:[~2018-09-07 12:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-09-07 18:47   ` [dpdk-stable] [PATCH stable-scripts 2/2] Update Meson version if present Yongseok Koh
2018-09-07 18:46 ` [dpdk-stable] [PATCH stable-scripts 1/2] Fix variable assignment in RC version calculation Yongseok Koh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180907123345.31775-2-bluca@debian.org \
    --to=bluca@debian.org \
    --cc=christian.ehrhardt@canonical.com \
    --cc=ktraynor@redhat.com \
    --cc=stable@dpdk.org \
    --cc=yskoh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).