mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
Instead, allow specifying free-form BUILD_ID from the command line. scripts/remote_python_packaging.sh still uses CIRCLE_ variables to avoid changing working CircleCI config.
9 lines
240 B
Bash
Executable File
9 lines
240 B
Bash
Executable File
#!/bin/bash
|
|
set -xe
|
|
|
|
JOB=${1:?need to specify 'rust' or 'python'}
|
|
BRANCH="$(git branch | grep \* | cut -d ' ' -f2)"
|
|
REPONAME="$(basename $(git rev-parse --show-toplevel))"
|
|
|
|
time bash "scripts/remote_tests_$JOB.sh" "$USER-$BRANCH-$REPONAME"
|