mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
11 lines
219 B
Bash
11 lines
219 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -e -x
|
||
|
|
||
|
source default-config
|
||
|
|
||
|
if [[ -d "${WORKSPACE}/sources" ]]; then
|
||
|
tar -c -z -f "${WORKSPACE}/sources.tar.gz" --directory "${WORKSPACE}/sources" .
|
||
|
else
|
||
|
die "Run get-sources first"
|
||
|
fi
|