Raymond Toy pushed to branch master at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -50,6 +50,7 @@ variables:
    50 50
         # When the result of `git describe` cannot be used as a version
    
    51 51
         # string, an alternative can be provided with the -V flag
    
    52 52
         # The following stages need this to run tests and such.
    
    53
    +    - sh -x bin/git-version.sh
    
    53 54
         - bin/make-dist.sh -I dist build-4
    
    54 55
         # Also make some tarballs so it's easy to download the artifacts.
    
    55 56
         - bin/make-dist.sh -S build-4
    

  • bin/git-version.sh
    ... ... @@ -46,6 +46,11 @@ else
    46 46
     	# The git hash looks like a release which is 3 hex digits.  Use it as is.
    
    47 47
     	DEFAULT_VERSION="${GIT_HASH}"
    
    48 48
         fi
    
    49
    +
    
    50
    +    if [ -z "$DEFAULT_VERSION" ]; then
    
    51
    +	echo "Unable to determine a default version from hash $GIT_HASH"
    
    52
    +	exit 1;
    
    53
    +    fi
    
    49 54
     fi
    
    50 55
     
    
    51 56
     if [ -z "$FILE" ]; then