mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Updating Dockerfiles on release #2792
This commit is contained in:
parent
5940f7b1da
commit
be011e68f0
@ -95,7 +95,8 @@ function gen_revision_author {
|
||||
dbms/cmake/version.cmake
|
||||
|
||||
gen_changelog "$VERSION_STRING" "" "$AUTHOR" ""
|
||||
git commit -m "$auto_message [$VERSION_STRING] [$VERSION_REVISION]" dbms/cmake/version.cmake debian/changelog
|
||||
gen_dockerfiles "$VERSION_STRING"
|
||||
git commit -m "$auto_message [$VERSION_STRING] [$VERSION_REVISION]" dbms/cmake/version.cmake debian/changelog docker/*/Dockerfile
|
||||
git push
|
||||
|
||||
# Second tag for correct version information in version.cmake inside tag
|
||||
@ -153,3 +154,9 @@ function gen_changelog {
|
||||
-e "s/[@]EMAIL[@]/$(whoami)@yandex-team.ru/g" \
|
||||
< $CHLOG.in > $CHLOG
|
||||
}
|
||||
|
||||
# Change package versions that are installed for Docker images.
|
||||
function gen_dockerfiles {
|
||||
VERSION_STRING="$1"
|
||||
ls -1 docker/*/Dockerfile | xargs sed -i -r -e 's/ARG version=.+$/ARG version='$VERSION_STRING'/'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user