diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6952870..86e6c74 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -36,11 +36,16 @@ jobs:
- name: Install G-Wasm
working-directory: gwasm
run: mvn -B install
-
+
+ # Check if GITHUB_REF_TYPE is a tag
- name: Build G-Earth
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
uses: actions/upload-artifact@v4
with:
diff --git a/G-Earth/pom.xml b/G-Earth/pom.xml
index fa9c227..36e305f 100644
--- a/G-Earth/pom.xml
+++ b/G-Earth/pom.xml
@@ -17,7 +17,7 @@
G-Earth
G-Earth-Parent
- ${revision}
+ ${revision}${changelist}
diff --git a/pom.xml b/pom.xml
index 813f9c4..2900575 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,11 +7,12 @@
G-Earth
G-Earth-Parent
pom
- ${revision}
+ ${revision}${changelist}
1.5.4-beta-2
+ -SNAPSHOT
1.5.3