mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-23 16:42:35 +00:00
Set version from Version.config for branch dists too
See #3482 git-svn-id: http://svn.osgeo.org/postgis/trunk@14731 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
b71fb8fed8
commit
dc0370353b
|
@ -22,7 +22,6 @@ version=dev
|
|||
if [ -n "$1" ]; then
|
||||
if [ "$1" = "-b" ]; then
|
||||
shift
|
||||
version=$1
|
||||
tag="branches/$1"
|
||||
else
|
||||
version="$1"
|
||||
|
@ -82,7 +81,7 @@ cd "$owd"
|
|||
|
||||
# Find a better version name when fetching
|
||||
# a development branch
|
||||
if test "$tag" = "trunk"; then
|
||||
if test "$version" = "dev"; then
|
||||
echo "Tweaking version for development snapshot"
|
||||
VMAJ=`grep ^POSTGIS_MAJOR_VERSION "$outdir"/Version.config | cut -d= -f2`
|
||||
VMIN=`grep ^POSTGIS_MINOR_VERSION "$outdir"/Version.config | cut -d= -f2`
|
||||
|
|
Loading…
Reference in a new issue