mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +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
|