Skip to content
This repository
Browse code

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

(#57) Strips leading `v` from generated version numbers
  • Loading branch information...
commit 104a9bc11674d40e527e98cb7dc4dd6ed63d88bc 2 parents 2d84e61 + 70e85b0
authored February 08, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  build-bundle-file.sh
2  build-bundle-file.sh
@@ -420,7 +420,7 @@ fi
420 420
 unsquashfs -f -d tmp-build-dir tmp-build-dir/util-linux.tcz `cat additional-build-files/util-linux-exec.lst`
421 421
 
422 422
 # determine, and store, the git derived ISO file version into the bundle
423  
-gitversion="$(git describe --tags --dirty --always | sed -e 's@-@+@')"
  423
+gitversion="$(git describe --tags --dirty --always | sed -e 's@-@+@' | sed -e 's/^v//')"
424 424
 if test $? -gt 0; then
425 425
     echo "unable to determine the build version with git!"
426 426
     exit 1

0 notes on commit 104a9bc

Please sign in to comment.
Something went wrong with that request. Please try again.