allow pom version changing
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
4007bc764d
commit
fc3b48deac
4
build.sh
4
build.sh
@ -2,6 +2,8 @@
|
|||||||
#Windows: JDK17, Maven, GitBash, 7zip, choco, GCC, Make
|
#Windows: JDK17, Maven, GitBash, 7zip, choco, GCC, Make
|
||||||
#Linux: JDK17, Maven, git, bash, unzip, GCC, Make
|
#Linux: JDK17, Maven, git, bash, unzip, GCC, Make
|
||||||
|
|
||||||
|
BUILD_VER=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
|
||||||
|
|
||||||
JRE_URL=""
|
JRE_URL=""
|
||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
JRE_URL=""
|
JRE_URL=""
|
||||||
@ -21,7 +23,7 @@ mkdir build
|
|||||||
mkdir ./build/assets
|
mkdir ./build/assets
|
||||||
#compile project and copy into build dir
|
#compile project and copy into build dir
|
||||||
mvn clean package
|
mvn clean package
|
||||||
cp ./target/Renderer-0.1.jar ./build/engine.jar
|
cp ./target/Renderer-${BUILD_VER}.jar ./build/engine.jar
|
||||||
#build launcher
|
#build launcher
|
||||||
cd ./launcher/
|
cd ./launcher/
|
||||||
make clean
|
make clean
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
#maven.buildNumber.plugin properties file
|
#maven.buildNumber.plugin properties file
|
||||||
#Mon Sep 02 19:29:06 EDT 2024
|
#Tue Sep 03 22:50:09 EDT 2024
|
||||||
buildNumber=317
|
buildNumber=318
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>studiorailgun</groupId>
|
<groupId>studiorailgun</groupId>
|
||||||
<artifactId>Renderer</artifactId>
|
<artifactId>Renderer</artifactId>
|
||||||
<version>0.1</version>
|
<version>0.1.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
@ -516,7 +516,7 @@
|
|||||||
<!-- <classpathScope>compile</classpathScope> -->
|
<!-- <classpathScope>compile</classpathScope> -->
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>-cp</argument>
|
<argument>-cp</argument>
|
||||||
<argument>target/classes;target/Renderer-0.1-jar-with-dependencies.jar</argument>
|
<argument>target/classes;target/Renderer-${version}-jar-with-dependencies.jar</argument>
|
||||||
<argument>electrosphere.engine.Main</argument>
|
<argument>electrosphere.engine.Main</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
<!-- <classesDirectory>${project.basedir}/target/classes</classesDirectory> -->
|
<!-- <classesDirectory>${project.basedir}/target/classes</classesDirectory> -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user