mirror of
https://github.com/GeyserMC/PackConverter.git
synced 2025-12-19 14:59:21 +00:00
Fix version parsing v2
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
||||
if: ${{ (success() || failure()) && github.repository == 'GeyserMC/PackConverter' }}
|
||||
id: get-version
|
||||
run: |
|
||||
version=$(grep -o "version=[0-9\\.]*" gradle.properties | cut -d"=" -f2 | cut -d"-" -f1)
|
||||
version=$(cat gradle.properties | grep -o "version=[0-9\\.]*" | cut -d"=" -f2)
|
||||
echo "VERSION=${version}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Get Release Metadata
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
group = org.geysermc.pack
|
||||
version = 3.4.1-SNAPSHOT
|
||||
group=org.geysermc.pack
|
||||
version=3.4.1-SNAPSHOT
|
||||
Reference in New Issue
Block a user