From: "Michael S. Tsirkin" <mst@redhat.com>
To: virtio-comment@lists.oasis-open.org, virtio-dev@lists.oasis-open.org
Cc: virtio@lists.oasis-open.org
Subject: [virtio-comment] [PATCH] make-setup-generated.sh: get version from spec string
Date: Thu, 21 Apr 2022 11:29:27 -0400 [thread overview]
Message-ID: <20220421152920.37374-1-mst@redhat.com> (raw)
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
make-setup-generated.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/make-setup-generated.sh b/make-setup-generated.sh
index f15d148..2c5c7f8 100755
--- a/make-setup-generated.sh
+++ b/make-setup-generated.sh
@@ -1,6 +1,5 @@
#! /bin/sh
-VERSION=1.1
DATESTR=${DATESTR:-`cat REVISION-DATE 2>/dev/null`}
if [ x"$DATESTR" = x ]; then
ISODATE=`git show --format=format:'%cd' --date=iso | head -n 1`
@@ -40,6 +39,8 @@ case "$1" in
exit 1
esac
+VERSION=`echo "$1"| sed -e 's/virtio-v//' -e 's/-.*//'`
+
#Prepend OASIS unless already there
case "$STAGENAME" in
OASIS*)
--
MST
This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.
In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.
Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/
next reply other threads:[~2022-04-21 15:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-21 15:29 Michael S. Tsirkin [this message]
2022-04-21 15:34 ` [virtio-dev] Re: [virtio-comment] [PATCH] make-setup-generated.sh: get version from spec string Cornelia Huck
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=20220421152920.37374-1-mst@redhat.com \
--to=mst@redhat.com \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.org \
--cc=virtio@lists.oasis-open.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