Permalink
Browse files

Merge pull request #58 from tjmcs/tb/fix-default-version-format

(#57) Strips leading `v` from generated version numbers
  • Loading branch information...
2 parents 2d84e61 + 70e85b0 commit 104a9bc11674d40e527e98cb7dc4dd6ed63d88bc tjmcs committed Feb 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 build-bundle-file.sh
View
@@ -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

0 comments on commit 104a9bc

Please sign in to comment.