mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
Add SNAPSHOT to ci/dev builds
This commit is contained in:
parent
0df906144e
commit
6cb98be64c
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -36,11 +36,16 @@ jobs:
|
|||||||
- name: Install G-Wasm
|
- name: Install G-Wasm
|
||||||
working-directory: gwasm
|
working-directory: gwasm
|
||||||
run: mvn -B install
|
run: mvn -B install
|
||||||
|
|
||||||
|
# Check if GITHUB_REF_TYPE is a tag
|
||||||
- name: Build G-Earth
|
- name: Build G-Earth
|
||||||
run: |
|
run: |
|
||||||
mvn -B package -Drepository=${GITHUB_REPOSITORY}
|
if [[ $GITHUB_REF_TYPE == 'tag' ]]; then
|
||||||
|
mvn -B package -Drepository=${GITHUB_REPOSITORY} -Dchangelist=
|
||||||
|
else
|
||||||
|
mvn -B package -Drepository=${GITHUB_REPOSITORY}
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload Mac OSX
|
- name: Upload Mac OSX
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>G-Earth</groupId>
|
<groupId>G-Earth</groupId>
|
||||||
<artifactId>G-Earth-Parent</artifactId>
|
<artifactId>G-Earth-Parent</artifactId>
|
||||||
<version>${revision}</version>
|
<version>${revision}${changelist}</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
3
pom.xml
3
pom.xml
@ -7,11 +7,12 @@
|
|||||||
<groupId>G-Earth</groupId>
|
<groupId>G-Earth</groupId>
|
||||||
<artifactId>G-Earth-Parent</artifactId>
|
<artifactId>G-Earth-Parent</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>${revision}</version>
|
<version>${revision}${changelist}</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Version of the application. -->
|
<!-- Version of the application. -->
|
||||||
<revision>1.5.4-beta-2</revision>
|
<revision>1.5.4-beta-2</revision>
|
||||||
|
<changelist>-SNAPSHOT</changelist>
|
||||||
<!-- Version for https://github.com/sirjonasxx/G-ExtensionStore to keep compatibility with beta versions. -->
|
<!-- Version for https://github.com/sirjonasxx/G-ExtensionStore to keep compatibility with beta versions. -->
|
||||||
<storeVersion>1.5.3</storeVersion>
|
<storeVersion>1.5.3</storeVersion>
|
||||||
<!-- Default repository for version checking. -->
|
<!-- Default repository for version checking. -->
|
||||||
|
Loading…
Reference in New Issue
Block a user