Skip to content

Commit

Permalink
prepare for next development iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
kenwenzel committed Feb 5, 2024
1 parent 9c41e6e commit 442a60d
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bundles/io.github.linkedfactory.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.github.linkedfactory</groupId>
<artifactId>linkedfactory-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>io.github.linkedfactory.core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bundles/io.github.linkedfactory.opcua/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.github.linkedfactory</groupId>
<artifactId>linkedfactory-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>io.github.linkedfactory.opcua</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bundles/io.github.linkedfactory.service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.github.linkedfactory</groupId>
<artifactId>linkedfactory-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.linkedfactory</groupId>
<artifactId>linkedfactory-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<organization>
Expand Down Expand Up @@ -156,7 +156,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.8.1</version>
<version>2.16.2</version>
</plugin>

<!-- Configuration for Eclipse M2E -->
Expand Down
33 changes: 33 additions & 0 deletions releng/update-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
while [[ $# > 1 ]]
do
key="$1"

case $key in
-r|--releaseVersion)
RELEASEVERSION="$2"
shift # past argument
;;
-d|--developmentVersion)
DEVELOPMENTVERSION="$2"
shift # past argument
;;
*)
# unknown option
;;
esac
shift # past argument or value
done

if [ -n "$RELEASEVERSION" ]; then
mvn versions:set -DnewVersion=$RELEASEVERSION -DgroupId='*' -DartifactId='*' -DprocessAllModules -DgenerateBackupPoms=false -P versions

git commit -a -m "prepare release $RELEASEVERSION"
git tag -a v$RELEASEVERSION -m "LinkedFactory POD release $RELEASEVERSION"
fi

if [ -n "$DEVELOPMENTVERSION" ]; then
mvn versions:set -DnewVersion=$DEVELOPMENTVERSION -DgroupId='*' -DartifactId='*' -DprocessAllModules -DgenerateBackupPoms=false -P versions

git commit -a -m "prepare for next development iteration"
fi
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>io.github.linkedfactory</groupId>
<artifactId>linkedfactory-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
</parent>

<artifactId>linkedFactory-server</artifactId>
Expand Down

0 comments on commit 442a60d

Please sign in to comment.