Skip to content
Snippets Groups Projects
Commit c5ca1f28 authored by OZGCloud's avatar OZGCloud
Browse files

Merge branch 'Version-2' of git.ozg-sh.de:mgm/kop-common into Version-2

parents 48b07712 7ad05f84
Branches
Tags
No related merge requests found
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<parent> <parent>
<groupId>de.itvsh.kop.common</groupId> <groupId>de.itvsh.kop.common</groupId>
<artifactId>kop-common</artifactId> <artifactId>kop-common</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0</version>
</parent> </parent>
<artifactId>kop-common-dependencies</artifactId> <artifactId>kop-common-dependencies</artifactId>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<parent> <parent>
<groupId>de.itvsh.kop.common</groupId> <groupId>de.itvsh.kop.common</groupId>
<artifactId>kop-common</artifactId> <artifactId>kop-common</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0</version>
</parent> </parent>
<artifactId>kop-common-lib</artifactId> <artifactId>kop-common-lib</artifactId>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<groupId>de.itvsh.kop.common</groupId> <groupId>de.itvsh.kop.common</groupId>
<artifactId>kop-common-license</artifactId> <artifactId>kop-common-license</artifactId>
<version>1.7.0-SNAPSHOT</version> <version>1.6.0</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Kop Common - OS license provider</name> <name>Kop Common - OS license provider</name>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<groupId>de.itvsh.kop.common</groupId> <groupId>de.itvsh.kop.common</groupId>
<artifactId>kop-common-parent</artifactId> <artifactId>kop-common-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Kop Common - Parent</name> <name>Kop Common - Parent</name>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<kop-common.version>2.0.0-SNAPSHOT</kop-common.version> <kop-common.version>2.0.0</kop-common.version>
<kop.license.version>1.6.0</kop.license.version> <kop.license.version>1.6.0</kop.license.version>
<spring-boot.version>3.0.5</spring-boot.version> <spring-boot.version>3.0.5</spring-boot.version>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<parent> <parent>
<groupId>de.itvsh.kop.common</groupId> <groupId>de.itvsh.kop.common</groupId>
<artifactId>kop-common</artifactId> <artifactId>kop-common</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0</version>
</parent> </parent>
<artifactId>kop-common-pdf</artifactId> <artifactId>kop-common-pdf</artifactId>
<name>Kop Common - PDF Export library</name> <name>Kop Common - PDF Export library</name>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<parent> <parent>
<groupId>de.itvsh.kop.common</groupId> <groupId>de.itvsh.kop.common</groupId>
<artifactId>kop-common-dependencies</artifactId> <artifactId>kop-common-dependencies</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0</version>
<relativePath>../kop-common-dependencies</relativePath> <relativePath>../kop-common-dependencies</relativePath>
</parent> </parent>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<groupId>de.itvsh.kop.common</groupId> <groupId>de.itvsh.kop.common</groupId>
<artifactId>kop-common</artifactId> <artifactId>kop-common</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.1.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Kop Common</name> <name>Kop Common</name>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kop-common.version>2.0.0-SNAPSHOT</kop-common.version> <kop-common.version>2.0.0</kop-common.version>
<kop.license.version>1.7.0</kop.license.version> <kop.license.version>1.7.0</kop.license.version>
<java.version>17</java.version> <java.version>17</java.version>
......
#!/bin/sh
if [ "$#" -ne 1 ]; then
echo "Aufruf: release-erstellen.sh JA"
echo "Als Parameter bitte 'JA' eintragen zur Sicherheit"
exit 1
fi
## alle -SNAPSHOT in pom.xmls entfernen
find . -name pom.xml -exec sed -i 's/-SNAPSHOT//g' {} +
## release version auslesen
NEWVERSION=$(xmlstarlet sel -N w="http://maven.apache.org/POM/4.0.0" -t -v '//w:project/w:version' -n pom.xml)
echo
echo "NEXT STEPS:"
echo "***********"
echo "Änderungen prüfen"
echo "git commit -a -m 'release version "$NEWVERSION"'"
echo "git push"
echo "git tag "$NEWVERSION
echo "git push --tags"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment