Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
hpehl committed Nov 29, 2024
1 parent 9ef4a4f commit 739d523
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 35 deletions.
2 changes: 1 addition & 1 deletion build-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion code-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-core</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>gwt-lib</packaging>
<name>Elemento Core</name>
<description>Elemento Core API</description>
Expand Down
4 changes: 2 additions & 2 deletions flow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-flow</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>gwt-lib</packaging>
<name>Elemento Flow</name>
<description>Parallel, sequential, repeated and nested execution of asynchronous tasks using promises.</description>
Expand Down
4 changes: 2 additions & 2 deletions logger/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-logger</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>gwt-lib</packaging>
<name>Elemento Logger</name>
<description>Elemento Logger API</description>
Expand Down
4 changes: 2 additions & 2 deletions mathml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-mathml</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>gwt-lib</packaging>
<name>Elemento MathML</name>
<description>Elemento MathML API</description>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Elemento Parent</name>
<description>Elemental builder API and other goodies for GWT and J2CL</description>
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ msg ""
./versionBump.sh "${FINAL_VERSION}"
msg "Update README & changelog"
sed -i '' -E "s/<version>[0-9]+\.[0-9]+\.[0-9]+.*<\/version>/<version>$FINAL_VERSION<\/version>/" docs/*.md
cd bom && mvn --quiet install &> /dev/null && cd .. # without installing the BOM first, keep a changelog will complain
cd bom && mvn --quiet install &> /dev/null && cd .. # without installing the BOM first, maven will complain
mvn --quiet -DskipModules keepachangelog:release &> /dev/null
msg "Push changes"
git commit --quiet -am "Release ${RELEASE_VERSION}"
Expand Down
4 changes: 2 additions & 2 deletions router-processor-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-router-processor-cdi</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Elemento Router Processor CDI</name>
<description>Elemento router annotation processor based on Crysknife CDI implementation</description>
Expand Down
4 changes: 2 additions & 2 deletions router-processor-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-router-processor-common</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Elemento Router Processor Common</name>
<description>Elemento router annotation processor common classes</description>
Expand Down
4 changes: 2 additions & 2 deletions router-processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-router-processor</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Elemento Router Processor</name>
<description>Elemento router annotation processor</description>
Expand Down
4 changes: 2 additions & 2 deletions router/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-router</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>gwt-lib</packaging>
<name>Elemento Router</name>
<description>Elemento router and place manager</description>
Expand Down
4 changes: 2 additions & 2 deletions samples/dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-samples</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>elemento-samples-dist</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Elemento Samples Distribution</name>

Expand Down
4 changes: 2 additions & 2 deletions samples/flow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-samples</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>elemento-flow-sample</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>gwt-app</packaging>
<name>Elemento Flow Sample</name>

Expand Down
4 changes: 2 additions & 2 deletions samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-samples</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Elemento Samples</name>

Expand Down
2 changes: 1 addition & 1 deletion samples/todo/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-todo-sample</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions samples/todo/gwt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-todo-sample</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>elemento-todo-sample-gwt</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>gwt-app</packaging>
<name>Elemento Todo Sample GWT</name>

Expand Down
4 changes: 2 additions & 2 deletions samples/todo/j2cl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-todo-sample</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>elemento-todo-sample-j2cl</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Elemento Todo Sample J2CL</name>

Expand Down
4 changes: 2 additions & 2 deletions samples/todo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-samples</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>elemento-todo-sample</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Elemento Todo Sample</name>

Expand Down
4 changes: 2 additions & 2 deletions svg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
<parent>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-code-parent</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<relativePath>../code-parent/pom.xml</relativePath>
</parent>

<artifactId>elemento-svg</artifactId>
<version>1.7.1-SNAPSHOT</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>gwt-lib</packaging>
<name>Elemento SVG</name>
<description>Elemento SVG API</description>
Expand Down
1 change: 1 addition & 0 deletions versionBump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,6 @@ parse_params "$@"
setup_colors

msg "Update version to ${CYAN}${NEW_VERSION}${NOFORMAT}"
cd bom && mvn --quiet install &> /dev/null && cd .. # without installing the BOM first, maven will complain
mvn --quiet versions:set -DnewVersion="${NEW_VERSION}" &> /dev/null
sed -i '' -E "s/<version>[0-9]+\.[0-9]+\.[0-9]+.*<\/version>/<version>$NEW_VERSION<\/version>/" bom/pom.xml

0 comments on commit 739d523

Please sign in to comment.