File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ code_commit=$(git rev-parse HEAD || echo unknown)
2525code_branch=$( git rev-parse --abbrev-ref HEAD || echo unknown)
2626polar_commit=$( git rev-parse --short=8 HEAD || echo unknown)
2727pg_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} )
2929polar_minorversion=$( grep -A 1 ' &polar_version' ../../src/backend/utils/misc/guc.c | awk ' NR==2{print}' | awk -F' [."]' ' {print $4}' ) .0
3030polar_release_date=$( grep -A 1 ' &polar_release_date' ../../src/backend/utils/misc/guc.c | awk ' NR==2{print}' | awk -F' [,"]' ' {print $2}' )
3131polar_version=${polar_majorversion} .${polar_minorversion}
You can’t perform that action at this time.
0 commit comments