mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +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
|