From 6cb98be64c48f784126a51005ef32aeafd9e7073 Mon Sep 17 00:00:00 2001
From: UnfamiliarLegacy <74633542+UnfamiliarLegacy@users.noreply.github.com>
Date: Tue, 25 Jun 2024 04:55:06 +0200
Subject: [PATCH] Add SNAPSHOT to ci/dev builds
---
.github/workflows/build.yml | 11 ++++++++---
G-Earth/pom.xml | 2 +-
pom.xml | 3 ++-
3 files changed, 11 insertions(+), 5 deletions(-)
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