Skip to content
Permalink
Browse files

fix parent version in pgjdbc/pom.xml as well

This should fix Travis build for FEDORA_CI.
  • Loading branch information...
praiskup committed Jul 2, 2019
1 parent d96ed59 commit 3db55daf2dccdd49555fd73b70be5c15609cccfa
Showing with 5 additions and 1 deletion.
  1. +4 −0 .travis/travis_build.sh
  2. +1 −1 pgjdbc/pom.xml
@@ -8,6 +8,10 @@ then
python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
export PROJECT_VERSION=$(mvn -B -N org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\[')
export PARENT_VERSION=$(mvn -B -N org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.parent.version | grep -v '\[')
export CHECK_PARENT_VERSION=$(mvn help:evaluate -Dexpression=project.parent.version -q -DforceStdout -f pgjdbc/pom.xml)
# just make sure that pom.xml has the same value as pgjdbc/pom.xml
test "$PARENT_VERSION" = "$CHECK_PARENT_VERSION"

exec ./packaging/rpm_ci
fi

@@ -3,7 +3,7 @@
<parent>
<groupId>org.postgresql</groupId>
<artifactId>pgjdbc-core-parent</artifactId>
<version>1.1.5</version>
<version>1.1.6</version>
<relativePath />
</parent>

0 comments on commit 3db55da

Please sign in to comment.
You can’t perform that action at this time.