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
|
||||
#Linux: JDK17, Maven, git, bash, unzip, GCC, Make
|
||||
|
||||
BUILD_VER=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
|
||||
|
||||
JRE_URL=""
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
JRE_URL=""
|
||||
@ -21,7 +23,7 @@ mkdir build
|
||||
mkdir ./build/assets
|
||||
#compile project and copy into build dir
|
||||
mvn clean package
|
||||
cp ./target/Renderer-0.1.jar ./build/engine.jar
|
||||
cp ./target/Renderer-${BUILD_VER}.jar ./build/engine.jar
|
||||
#build launcher
|
||||
cd ./launcher/
|
||||
make clean
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
#maven.buildNumber.plugin properties file
|
||||
#Mon Sep 02 19:29:06 EDT 2024
|
||||
buildNumber=317
|
||||
#Tue Sep 03 22:50:09 EDT 2024
|
||||
buildNumber=318
|
||||
|
||||
4
pom.xml
4
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>studiorailgun</groupId>
|
||||
<artifactId>Renderer</artifactId>
|
||||
<version>0.1</version>
|
||||
<version>0.1.1</version>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -516,7 +516,7 @@
|
||||
<!-- <classpathScope>compile</classpathScope> -->
|
||||
<arguments>
|
||||
<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>
|
||||
</arguments>
|
||||
<!-- <classesDirectory>${project.basedir}/target/classes</classesDirectory> -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user