Discussion of the implementations of VIRTIO specification
 help / color / mirror / Atom feed
* [virtio-comment] [PATCH] make-setup-generated.sh: get version from spec string
@ 2022-04-21 15:29 Michael S. Tsirkin
  2022-04-21 15:34 ` [virtio-dev] " Cornelia Huck
  0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2022-04-21 15:29 UTC (permalink / raw)
  To: virtio-comment, virtio-dev; +Cc: virtio

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/


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

* [virtio-dev] Re: [virtio-comment] [PATCH] make-setup-generated.sh: get version from spec string
  2022-04-21 15:29 [virtio-comment] [PATCH] make-setup-generated.sh: get version from spec string Michael S. Tsirkin
@ 2022-04-21 15:34 ` Cornelia Huck
  0 siblings, 0 replies; 2+ messages in thread
From: Cornelia Huck @ 2022-04-21 15:34 UTC (permalink / raw)
  To: Michael S. Tsirkin, virtio-comment, virtio-dev; +Cc: virtio

On Thu, Apr 21 2022, "Michael S. Tsirkin" <mst@redhat.com> wrote:

> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  make-setup-generated.sh | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


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

end of thread, other threads:[~2022-04-21 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21 15:29 [virtio-comment] [PATCH] make-setup-generated.sh: get version from spec string Michael S. Tsirkin
2022-04-21 15:34 ` [virtio-dev] " Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox