1
0
mirror of https://github.com/GeyserMC/PackConverter.git synced 2025-12-19 14:59:21 +00:00

Fix version parsing

This commit is contained in:
onebeastchris
2025-08-13 02:05:02 +03:00
parent a94c245ec3
commit 8286111644

View File

@@ -50,7 +50,7 @@ jobs:
if: ${{ (success() || failure()) && github.repository == 'GeyserMC/PackConverter' }} if: ${{ (success() || failure()) && github.repository == 'GeyserMC/PackConverter' }}
id: get-version id: get-version
run: | run: |
version=$(grep -o "mod_version=[0-9\\.]*" gradle.properties | cut -d"=" -f2 | cut -d"-" -f1) version=$(grep -o "version=[0-9\\.]*" gradle.properties | cut -d"=" -f2 | cut -d"-" -f1)
echo "VERSION=${version}" >> $GITHUB_OUTPUT echo "VERSION=${version}" >> $GITHUB_OUTPUT
- name: Get Release Metadata - name: Get Release Metadata