mirror of
https://github.com/mstorsjo/llvm-mingw
synced 2026-06-21 14:01:00 +00:00
8d1d6f9947
For non scheduled builds, those env variables are just left empty. This is much neater than using the "versions" file, and uses much fewer lines of code. We still probably want to bundle a file labelling what versions it contains in the built packages though; give that file a .txt suffix.
14 lines
289 B
Bash
Executable File
14 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
|
|
OUT="$1"
|
|
|
|
if [ -n "$LLVM_VERSION" ]; then
|
|
echo "Nightly $(TZ=UTC date +%Y-%m-%d)" >> $OUT
|
|
for i in LLVM_VERSION MINGW_W64_VERSION PYTHON_VERSION_MINGW; do
|
|
eval val=\"\$$i\"
|
|
if [ -n "$val" ]; then
|
|
echo "$i=$val" >> $OUT
|
|
fi
|
|
done
|
|
fi
|