From: luca.boccassi@gmail.com
To: stable@dpdk.org
Cc: ktraynor@redhat.com
Subject: [dpdk-stable] [PATCH stable-scripts] Update VERSION when tagging rc
Date: Fri, 19 Jun 2020 12:35:12 +0100 [thread overview]
Message-ID: <20200619113512.1888906-1-luca.boccassi@gmail.com> (raw)
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
next reply other threads:[~2020-06-19 11:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 11:35 luca.boccassi [this message]
2020-06-19 18:39 ` Kevin Traynor
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=20200619113512.1888906-1-luca.boccassi@gmail.com \
--to=luca.boccassi@gmail.com \
--cc=ktraynor@redhat.com \
--cc=stable@dpdk.org \
/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).