release version 0.2.0 v0.2.0

Sun, 06 Oct 2024 14:00:54 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 06 Oct 2024 14:00:54 +0200
changeset 117
bc096357e324
parent 116
41981a23aff8
child 118
a779fd0220c6

release version 0.2.0

dist.src/bin/uwproj file | annotate | diff | comparison | revisions
dist.src/install.sh file | annotate | diff | comparison | revisions
pom.xml file | annotate | diff | comparison | revisions
--- a/dist.src/bin/uwproj	Tue Sep 24 21:49:50 2024 +0200
+++ b/dist.src/bin/uwproj	Sun Oct 06 14:00:54 2024 +0200
@@ -1,4 +1,5 @@
 #!/bin/sh
 
 PREFIX=%%PREFIX%%
+echo "uwproj - version ${project.version}"
 java -jar "$PREFIX/lib/uwproj/uwproj-${project.version}.jar" "$@"
--- a/dist.src/install.sh	Tue Sep 24 21:49:50 2024 +0200
+++ b/dist.src/install.sh	Sun Oct 06 14:00:54 2024 +0200
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 PREFIX=/usr/local
+VERSION=${project.version}
 
 # help text
 printhelp()
@@ -43,8 +44,8 @@
 #
 # install the JAR file
 #
-echo "cp ../target/uwproj-0.2.0-SNAPSHOT-jar-with-dependencies.jar $PREFIX/lib/uwproj/uwproj-0.2.0-SNAPSHOT.jar"
-cp "../target/uwproj-0.2.0-SNAPSHOT-jar-with-dependencies.jar" "$PREFIX/lib/uwproj/uwproj-0.2.0-SNAPSHOT.jar" \
+echo "cp ../target/uwproj-$VERSION-jar-with-dependencies.jar $PREFIX/lib/uwproj/uwproj-$VERSION.jar"
+cp "../target/uwproj-$VERSION-jar-with-dependencies.jar" "$PREFIX/lib/uwproj/uwproj-$VERSION.jar" \
   || exit_on_error "Installing JAR file failed."
 
 #
@@ -59,4 +60,4 @@
   || exit_on_error "Changing permissions for run script failed."
 
 echo
-echo "uwproj has been successfully installed."
+echo "uwproj $VERSION has been successfully installed."
--- a/pom.xml	Tue Sep 24 21:49:50 2024 +0200
+++ b/pom.xml	Sun Oct 06 14:00:54 2024 +0200
@@ -4,7 +4,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>de.unixwork</groupId>
     <artifactId>uwproj</artifactId>
-    <version>0.2.0-SNAPSHOT</version>
+    <version>0.2.0</version>
     <packaging>jar</packaging>
     <description>
         Makefile configuration tool.

mercurial