File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -4,24 +4,30 @@ set -euxo pipefail
44source common.sh
55
66VERSION=$1
7+ # versions like 1.8-clang-18.1.0
8+ CLANG_VERSION=${VERSION#* -clang-}
9+ if [[ " ${CLANG_VERSION} " = " ${VERSION} " ]]; then
10+ CLANG_VERSION=18.1.0
11+ fi
12+ VERSION=${VERSION% -clang-* }
713if [[ " ${VERSION} " = " trunk" ]]; then
8- VERSION=trunk-$( date +%Y%m%d)
14+ VERSION=trunk-clang- ${CLANG_VERSION} - $( date +%Y%m%d)
915 BRANCH=master
1016 REMOTE=heads/${BRANCH}
1117else
1218 BRANCH=v${VERSION}
1319 REMOTE=tags/${BRANCH}
20+ VERSION=${VERSION} -clang-${CLANG_VERSION}
1421fi
1522
1623URL=https://github.com/vgvassilev/clad
17- CLANG_VERSION=18.1.0
1824
1925FULLNAME=clad-${VERSION}
2026OUTPUT=$2 /${FULLNAME} .tar.xz
2127
2228REVISION=" $( get_remote_revision " ${URL} " " ${REMOTE} " ) "
2329
24- REVISION=" clad-${REVISION} "
30+ REVISION=" clad-${REVISION} - ${CLANG_VERSION} "
2531LAST_REVISION=" ${3:- } "
2632
2733initialise " ${REVISION} " " ${OUTPUT} " " ${LAST_REVISION} "
You can’t perform that action at this time.
0 commit comments