Raymond Toy pushed to branch issue-464-lisp-version-uses-branch-name at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • bin/git-version.sh
    ... ... @@ -40,7 +40,7 @@ else
    40 40
         BRANCH="`git rev-parse --abbrev-ref HEAD`"
    
    41 41
         if [ "$BRANCH" = "master" ]; then
    
    42 42
     	# On the master branch, use simple git describe --dirty for the version
    
    43
    -	DEFAULT_VERSION="`git describe --all || git describe 2>/dev/null`"
    
    43
    +	DEFAULT_VERSION="`git describe --dirty || git describe 2>/dev/null`"
    
    44 44
         else
    
    45 45
     	# We're not on the master branch.  Do something different.
    
    46 46
     	# The option --all allows use to use the the branch name or tag