Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix parent version in pgjdbc/pom.xml as well #1522

Merged
merged 1 commit into from
Jul 3, 2019

Conversation

praiskup
Copy link
Member

@praiskup praiskup commented Jul 2, 2019

This should fix Travis build for FEDORA_CI.

@@ -8,6 +8,13 @@ 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=$(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simpler approach:

export CHECK_PARENT_VERSION=$(mvn help:evaluate -Dexpression=project.parent.version -q -DforceStdout -f pgjdbc/pom.xml)

@AppVeyorBot
Copy link

Build pgjdbc 1.0.330 completed (commit e30590e7c9 by @praiskup)

This should fix Travis build for FEDORA_CI.
@praiskup
Copy link
Member Author

praiskup commented Jul 2, 2019

@jorsol, thanks, that seems to work as well! Fixed.

@AppVeyorBot
Copy link

Build pgjdbc 1.0.331 completed (commit eaef7a49e4 by @praiskup)

@codecov-io
Copy link

Codecov Report

Merging #1522 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1522      +/-   ##
============================================
+ Coverage     68.77%   68.85%   +0.07%     
- Complexity     3930     3938       +8     
============================================
  Files           179      179              
  Lines         16467    16467              
  Branches       2674     2674              
============================================
+ Hits          11325    11338      +13     
+ Misses         3893     3885       -8     
+ Partials       1249     1244       -5

@praiskup praiskup merged commit 3db55da into pgjdbc:master Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants