Skip to content

Commit 276a7fc

Browse files
committed
fix: deb packages naming
1 parent 2b4dc1e commit 276a7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/debian/build-deb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ code_commit=$(git rev-parse HEAD || echo unknown)
2525
code_branch=$(git rev-parse --abbrev-ref HEAD || echo unknown)
2626
polar_commit=$(git rev-parse --short=8 HEAD || echo unknown)
2727
pg_version=$(grep AC_INIT ../../configure.in | awk -F'[][]' '{print $4}')
28-
polar_majorversion=2.0.$(echo ${pg_version} | awk -F'[^0-9]+' '{print $1}')
28+
polar_majorversion=2.0.$(echo ${pg_version})
2929
polar_minorversion=$(grep -A 1 '&polar_version' ../../src/backend/utils/misc/guc.c | awk 'NR==2{print}' | awk -F'[."]' '{print $4}').0
3030
polar_release_date=$(grep -A 1 '&polar_release_date' ../../src/backend/utils/misc/guc.c | awk 'NR==2{print}' | awk -F'[,"]' '{print $2}')
3131
polar_version=${polar_majorversion}.${polar_minorversion}

0 commit comments

Comments
 (0)