mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +01:00
Add SNAPSHOT to ci/dev builds
This commit is contained in:
parent
0df906144e
commit
6cb98be64c
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -37,9 +37,14 @@ jobs:
|
||||
working-directory: gwasm
|
||||
run: mvn -B install
|
||||
|
||||
# Check if GITHUB_REF_TYPE is a tag
|
||||
- name: Build G-Earth
|
||||
run: |
|
||||
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
|
||||
uses: actions/upload-artifact@v4
|
||||
|
@ -17,7 +17,7 @@
|
||||
<parent>
|
||||
<groupId>G-Earth</groupId>
|
||||
<artifactId>G-Earth-Parent</artifactId>
|
||||
<version>${revision}</version>
|
||||
<version>${revision}${changelist}</version>
|
||||
</parent>
|
||||
|
||||
<build>
|
||||
|
3
pom.xml
3
pom.xml
@ -7,11 +7,12 @@
|
||||
<groupId>G-Earth</groupId>
|
||||
<artifactId>G-Earth-Parent</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>${revision}</version>
|
||||
<version>${revision}${changelist}</version>
|
||||
|
||||
<properties>
|
||||
<!-- Version of the application. -->
|
||||
<revision>1.5.4-beta-2</revision>
|
||||
<changelist>-SNAPSHOT</changelist>
|
||||
<!-- Version for https://github.com/sirjonasxx/G-ExtensionStore to keep compatibility with beta versions. -->
|
||||
<storeVersion>1.5.3</storeVersion>
|
||||
<!-- Default repository for version checking. -->
|
||||
|
Loading…
Reference in New Issue
Block a user