Raymond Toy pushed to branch issue-464-lisp-version-uses-branch-name at cmucl / cmucl
Commits:
-
88eb2721
by Raymond Toy at 2026-01-15T09:22:30-08:00
1 changed file:
Changes:
| ... | ... | @@ -54,6 +54,10 @@ else |
| 54 | 54 | # The hash looks like the current branch with possibly more
|
| 55 | 55 | # stuff at the end. Use the hash as the version.
|
| 56 | 56 | DEFAULT_VERSION="${GIT_HASH}"
|
| 57 | + elif [ `expr "${GIT_HASH}" : "pipelines/[0-9]*"` != 0]; then
|
|
| 58 | + # Assuming this is CI which seems to produce a githash like
|
|
| 59 | + # "pipeline/<digits>".
|
|
| 60 | + DEFAULT_VERSION="${GIT_HASH}"
|
|
| 57 | 61 | fi
|
| 58 | 62 | |
| 59 | 63 | if [ -z "$DEFAULT_VERSION" ]; then
|