Skip to content

Commit 6cc551e

Browse files
committed
chore: add the git version into the PostgreSQL version
When running `SELECT version();` we now show the git commit hash Signed-off-by: Jonathan Gonzalez V. <[email protected]>
1 parent e82fd60 commit 6cc551e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ RUN set -eux ; \
135135
--with-systemd \
136136
--with-selinux \
137137
--with-zstd \
138+
--with-extra-version=$(git rev-parse --short HEAD) \
138139
--datarootdir=/usr/share/ \
139140
--infodir=/usr/share/info \
140141
--localstatedir=/var \

0 commit comments

Comments
 (0)