mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
26 lines
689 B
Plaintext
26 lines
689 B
Plaintext
|
#!/bin/bash -ex
|
||
|
|
||
|
source release_lib.sh
|
||
|
|
||
|
CONTROL=debian/control
|
||
|
CHLOG=debian/changelog
|
||
|
CHDATE=$(LC_ALL=C date -R | sed -e 's/,/\\,/g') # Заменим запятую на '\,'
|
||
|
|
||
|
# Список демонов для сборки может быть указан в аргументах командной строки.
|
||
|
if [ $# -gt 0 ]
|
||
|
then
|
||
|
DAEMONS="$@"
|
||
|
else
|
||
|
DAEMONS="$(echo `cat debian/daemons`)"
|
||
|
fi
|
||
|
|
||
|
REVISION="99999"
|
||
|
echo -e "\nCurrent revision is $REVISION"
|
||
|
|
||
|
make_control "$CONTROL" "$DAEMONS"
|
||
|
|
||
|
gen_changelog "$REVISION" "$CHDATE" "$AUTHOR" "$CHLOG" "$DAEMONS"
|
||
|
|
||
|
# Сборка (только бинарных пакетов).
|
||
|
debuild -e THREADS_COUNT=7 -e DAEMONS="${DAEMONS}" -b -uc -us
|