Skip to content

Commit 4feb6d9

Browse files
committed
Fix build version
1 parent 060b83d commit 4feb6d9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
if: ${{ success() && github.repository == 'GeyserMC/EmoteOffhandExtension' && github.ref_name == 'master' }}
2828
id: get-version
2929
run: |
30-
version=$(cat build.gradle | grep -o "version '[0-9\\.]*'" | cut -d" " -f2 | sed "s/'//g")
30+
version=$(cat gradle.properties | grep -o "version=[0-9\\.]*" | cut -d"=" -f2)
3131
echo "VERSION=${version}" >> $GITHUB_OUTPUT
3232
3333
- name: Get Release Metadata

build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ plugins {
22
id("java")
33
}
44

5-
group = "org.geysermc.extension.emoteoffhand"
6-
version = "1.0.0"
7-
85
repositories {
96
mavenCentral()
107
maven("https://repo.opencollab.dev/main")

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version=1.0.0
2+
group=org.geysermc.extension.emoteoffhand

0 commit comments

Comments
 (0)