Merge branch 'xMAC94x/fix-benchmark' into 'master'

it seems like that the TAGUUID must start with a Alphabetic char

See merge request veloren/veloren!1617
This commit is contained in:
Marcel 2020-12-12 01:08:57 +00:00
commit 413f0853c2

View File

@ -19,7 +19,7 @@ benchmarks:
- unset DISABLE_GIT_LFS_CHECK
- ln -s /dockercache/cache-all target
- cargo bench
- TAGUUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) || echo "ignore this returncode, dont ask me why, it works"
- TAGUUID="Z$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)" || echo "ignore this returncode, dont ask me why, it works"
- echo $TAGUUID
- echo 'SET veloren.timestamp = "'"$(git show --no-patch --no-notes --pretty='%cd' HEAD)"'";' > upload.sql
- echo "SET veloren.branch = \$${TAGUUID}\$${CI_COMMIT_REF_NAME}\$${TAGUUID}\$;" >> upload.sql