Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes issue #57 (generated version numbers have wrong format); with t…

…he change in this commit the build-bundle-file.sh script constructs a shell that parses the git version numbers a bit differently so that auto-generated version numbers for the Microkernel ISO are more consistent with the version numbers that were used in numbering our Razor Microkernel ISOs previously (versions like "0.9.3.0" instead of "v0.9.3.0").
  • Loading branch information...
commit 70e85b063b5d8f7f00e3556f08c807fb2c2674dc 1 parent 76df43b
Tom McSweeney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  build-bundle-file.sh
View
2  build-bundle-file.sh
@@ -420,7 +420,7 @@ fi
unsquashfs -f -d tmp-build-dir tmp-build-dir/util-linux.tcz `cat additional-build-files/util-linux-exec.lst`
# determine, and store, the git derived ISO file version into the bundle
-gitversion="$(git describe --tags --dirty --always | sed -e 's@-@+@')"
+gitversion="$(git describe --tags --dirty --always | sed -e 's@-@+@' | sed -e 's/^v//')"
if test $? -gt 0; then
echo "unable to determine the build version with git!"
exit 1
Please sign in to comment.
Something went wrong with that request. Please try again.