Skip to content

Commit afb32e2

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
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)