Skip to content

Commit 8f365c1

Browse files
authored
Fix travis script to update versions (ExpediaGroup#351)
* Fix travis script to update versions Also update to the correct versions that was not done here ExpediaGroup#350 * Update profile for versions-maven-plugin
1 parent 7f55f15 commit 8f365c1

File tree

10 files changed

+14
-18
lines changed

10 files changed

+14
-18
lines changed

.travis/update-version.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ update_version() {
1010
echo "Updating the version in the POMs"
1111

1212
# Push the tag with `-SNAPSHOT` as the current version
13-
mvn --settings .travis/settings.xml org.codehaus.mojo:versions-maven-plugin:2.7:set -DnewVersion="${TRAVIS_TAG}-SNAPSHOT"
13+
mvn --settings .travis/settings.xml org.codehaus.mojo:versions-maven-plugin:2.7:set -PdefaultBuild -DnewVersion="${TRAVIS_TAG}-SNAPSHOT"
1414

1515
# Increment the patch version
16-
mvn --settings .travis/settings.xml release:update-versions -B
16+
mvn --settings .travis/settings.xml release:update-versions -B -PdefaultBuild
1717

1818
# Pull the new value from the pom
1919
NEW_VERSION=$(mvn --settings .travis/settings.xml help:evaluate -Dexpression=project.version -q -DforceStdout)
@@ -26,7 +26,7 @@ commit_files() {
2626
git checkout -b ${NEW_VERSION}
2727

2828
# Stage the modified files
29-
git add ./pom.xml ./*/pom.xml
29+
git add ./pom.xml ./**/*/pom.xml
3030

3131
# Print the current files we are going to commit
3232
git status

examples/federation/base-app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.expediagroup</groupId>
66
<artifactId>graphql-kotlin</artifactId>
7-
<version>1.0.0-RC7-SNAPSHOT</version>
7+
<version>1.0.0-RC8-SNAPSHOT</version>
88
<relativePath>../../..</relativePath>
99
</parent>
1010

examples/federation/extend-app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.expediagroup</groupId>
66
<artifactId>graphql-kotlin</artifactId>
7-
<version>1.0.0-RC7-SNAPSHOT</version>
7+
<version>1.0.0-RC8-SNAPSHOT</version>
88
<relativePath>../../..</relativePath>
99
</parent>
1010

examples/federation/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64
<parent>
75
<artifactId>graphql-kotlin</artifactId>
86
<groupId>com.expediagroup</groupId>
9-
<version>1.0.0-RC7-SNAPSHOT</version>
7+
<version>1.0.0-RC8-SNAPSHOT</version>
108
<relativePath>../..</relativePath>
119
</parent>
1210

examples/pom.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64
<parent>
75
<artifactId>graphql-kotlin</artifactId>
86
<groupId>com.expediagroup</groupId>
9-
<version>1.0.0-RC7-SNAPSHOT</version>
7+
<version>1.0.0-RC8-SNAPSHOT</version>
108
<relativePath>..</relativePath>
119
</parent>
1210

examples/spring/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.expediagroup</groupId>
66
<artifactId>graphql-kotlin</artifactId>
7-
<version>1.0.0-RC7-SNAPSHOT</version>
7+
<version>1.0.0-RC8-SNAPSHOT</version>
88
<relativePath>../..</relativePath>
99
</parent>
1010

graphql-kotlin-federation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.expediagroup</groupId>
77
<artifactId>graphql-kotlin</artifactId>
8-
<version>1.0.0-RC7-SNAPSHOT</version>
8+
<version>1.0.0-RC8-SNAPSHOT</version>
99
<relativePath>..</relativePath>
1010
</parent>
1111

graphql-kotlin-schema-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.expediagroup</groupId>
77
<artifactId>graphql-kotlin</artifactId>
8-
<version>1.0.0-RC7-SNAPSHOT</version>
8+
<version>1.0.0-RC8-SNAPSHOT</version>
99
<relativePath>..</relativePath>
1010
</parent>
1111

graphql-kotlin-spring-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.expediagroup</groupId>
66
<artifactId>graphql-kotlin</artifactId>
7-
<version>1.0.0-RC7-SNAPSHOT</version>
7+
<version>1.0.0-RC8-SNAPSHOT</version>
88
<relativePath>..</relativePath>
99
</parent>
1010

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.expediagroup</groupId>
66
<artifactId>graphql-kotlin</artifactId>
7-
<version>1.0.0-RC7-SNAPSHOT</version>
7+
<version>1.0.0-RC8-SNAPSHOT</version>
88
<name>graphql-kotlin</name>
99
<description>Code-only GraphQL schema generation for Kotlin</description>
1010
<url>https://github.com/ExpediaGroup/graphql-kotlin</url>

0 commit comments

Comments
 (0)