mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Removed useless code [#METR-20000].
This commit is contained in:
parent
14fd7474e4
commit
96b244ce3a
28
release
28
release
@ -9,13 +9,25 @@ CHDATE=$(LC_ALL=C date -R | sed -e 's/,/\\,/g') # Заменим запятую
|
||||
# Собирать пакет с конфигурационными файлами для Яндекс.Метрики.
|
||||
BUILD_PACKAGE_FOR_METRIKA=$([ -f 'private/Server/metrika/config.xml' ] && echo 'yes')
|
||||
|
||||
# Don't sign packages, don't upload, don't create tags.
|
||||
if [[ $1 == '--standalone' ]]
|
||||
then
|
||||
while [[ $1 == --* ]]
|
||||
do
|
||||
# Don't sign packages, don't upload, don't create tags.
|
||||
if [[ $1 == '--standalone' ]]
|
||||
then
|
||||
STANDALONE='yes'
|
||||
DEBUILD_NOSIGN_OPTIONS="-us -uc"
|
||||
shift
|
||||
fi
|
||||
elif [[ $1 == '--test' ]]
|
||||
then
|
||||
STANDALONE='yes'
|
||||
TEST='yes'
|
||||
DEBUILD_NOSIGN_OPTIONS="-us -uc"
|
||||
shift
|
||||
else
|
||||
echo "Unknown option $1"
|
||||
exit 2
|
||||
fi
|
||||
done
|
||||
|
||||
# Список демонов для сборки может быть указан в аргументах командной строки.
|
||||
if [ $# -gt 0 ]
|
||||
@ -25,7 +37,13 @@ else
|
||||
DAEMONS="$(echo `cat debian/daemons`)"
|
||||
fi
|
||||
|
||||
gen_revision_author
|
||||
if [[ $TEST != 'yes' ]]
|
||||
then
|
||||
gen_revision_author
|
||||
else
|
||||
REVISION=99999
|
||||
fi
|
||||
|
||||
echo -e "\nCurrent revision is $REVISION"
|
||||
|
||||
make_control "$CONTROL" "$DAEMONS"
|
||||
|
27
release_test
27
release_test
@ -1,28 +1,3 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
source release_lib.sh
|
||||
|
||||
CONTROL=debian/control
|
||||
CHLOG=debian/changelog
|
||||
CHDATE=$(LC_ALL=C date -R | sed -e 's/,/\\,/g') # Заменим запятую на '\,'
|
||||
|
||||
# Собирать пакет с конфигурационными файлами для Яндекс.Метрики.
|
||||
BUILD_PACKAGE_FOR_METRIKA=$([ -f 'private/Server/metrika/config.xml' ] && echo 'yes')
|
||||
|
||||
# Список демонов для сборки может быть указан в аргументах командной строки.
|
||||
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
|
||||
./release --test $@
|
||||
|
Loading…
Reference in New Issue
Block a user