File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ code_commit=$(git rev-parse HEAD || echo unknown)
25
25
code_branch=$( git rev-parse --abbrev-ref HEAD || echo unknown)
26
26
polar_commit=$( git rev-parse --short=8 HEAD || echo unknown)
27
27
pg_version=$( grep AC_INIT ../../configure.in | awk -F' [][]' ' {print $4}' )
28
- polar_majorversion=2.0. $( echo ${pg_version} )
28
+ polar_majorversion=$( echo ${pg_version} )
29
29
polar_minorversion=$( grep -A 1 ' &polar_version' ../../src/backend/utils/misc/guc.c | awk ' NR==2{print}' | awk -F' [."]' ' {print $4}' ) .0
30
30
polar_release_date=$( grep -A 1 ' &polar_release_date' ../../src/backend/utils/misc/guc.c | awk ' NR==2{print}' | awk -F' [,"]' ' {print $2}' )
31
31
polar_version=${polar_majorversion} .${polar_minorversion}
Original file line number Diff line number Diff line change 25
25
%define code_branch %(git rev-parse --abbrev-ref HEAD || echo unknown)
26
26
%define polar_commit %(git rev-parse --short= 8 HEAD || echo unknown)
27
27
%define pg_version %(grep AC_INIT ../../configure.in | awk -F'[][]' '{print $4}')
28
- %define polar_majorversion 2.0. %{pg_version }
28
+ %define polar_majorversion %{pg_version }
29
29
%define polar_minorversion %(grep -A 1 '&polar_version' ../../src/backend/utils/misc/guc.c | awk 'NR== 2{print}' | awk -F'[."]' '{print $4}').0
30
30
%define polar_release_date %(grep -A 1 '&polar_release_date' ../../src/backend/utils/misc/guc.c | awk 'NR== 2{print}' | awk -F'[,"]' '{print $2}')
31
31
%define polar_version %{polar_majorversion }.%{polar_minorversion }
You can’t perform that action at this time.
0 commit comments