Skip to content

Commit

Permalink
Bump version to 1.9.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaoverton committed Dec 2, 2021
1 parent d18f28c commit 372416d
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 9 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.obolibrary.robot</groupId>
<artifactId>robot</artifactId>
<version>1.8.2</version>
<version>1.9.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>robot</name>
Expand Down Expand Up @@ -277,7 +277,7 @@
<plugin>
<groupId>org.obolibrary.robot</groupId>
<artifactId>robot-maven-plugin</artifactId>
<version>1.8.2</version>
<version>1.9.0-SNAPSHOT</version>
</plugin>
</plugins>
</build>
Expand Down
2 changes: 1 addition & 1 deletion robot-command/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.obolibrary.robot</groupId>
<artifactId>robot</artifactId>
<version>1.8.2</version>
<version>1.9.0-SNAPSHOT</version>
</parent>
<artifactId>robot-command</artifactId>
<name>robot-command</name>
Expand Down
40 changes: 39 additions & 1 deletion robot-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.obolibrary.robot</groupId>
<artifactId>robot</artifactId>
<version>1.8.2</version>
<version>1.9.0-SNAPSHOT</version>
</parent>
<artifactId>robot-core</artifactId>
<name>robot-core</name>
Expand All @@ -31,6 +31,44 @@
</execution>
</executions>
</plugin>

<!-- Ensure backward compatibility -->
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.15.2</version>
<configuration>
<oldVersion>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>1.8.2</version> <!-- japicmp target -->
<type>jar</type>
</dependency>
</oldVersion>
<newVersion>
<file>
<path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
</file>
</newVersion>
<parameter>
<!-- see documentation: http://siom79.github.io/japicmp/MavenPlugin.html -->
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
<breakBuildOnSourceIncompatibleModifications>true</breakBuildOnSourceIncompatibleModifications>
<!-- include on breaking changes
<excludes></excludes>
-->
</parameter>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>cmp</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
6 changes: 3 additions & 3 deletions robot-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<parent>
<groupId>org.obolibrary.robot</groupId>
<artifactId>robot</artifactId>
<version>1.8.2</version>
<version>1.9.0-SNAPSHOT</version>
</parent>

<artifactId>robot-maven-plugin</artifactId>
<version>1.8.2</version>
<version>1.9.0-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<name>robot-maven-plugin</name>

Expand Down Expand Up @@ -55,7 +55,7 @@
<plugin>
<groupId>org.obolibrary.robot</groupId>
<artifactId>robot-maven-plugin</artifactId>
<version>1.8.2</version>
<version>1.9.0-SNAPSHOT</version>
</plugin>
</plugins>
</build>
Expand Down
4 changes: 2 additions & 2 deletions util/release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p maven git gitAndTools.gh travis jq semver-tool gnupg
#! nix-shell -i bash -p jdk11_headless maven git gitAndTools.gh travis jq semver-tool gnupg
#
# This script helps to automate ROBOT releases.
# When a manual step is required, it will wait for the user.
Expand Down Expand Up @@ -126,7 +126,7 @@ step "Release to Maven Central"
mvn clean deploy -P release

step "Create draft GitHub release"
< CHANGELOG.md
< CHANGELOG.md \
sed -n "/^## \[${VERSION}\]/,/^## /p" \
| sed '1d;2d;$d' \
| sed "s/[][]//g" \
Expand Down

0 comments on commit 372416d

Please sign in to comment.