1
0
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:
rtm516
2025-08-13 00:11:54 +01:00
parent 8286111644
commit a42fe40197
2 changed files with 3 additions and 3 deletions

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 "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 echo "VERSION=${version}" >> $GITHUB_OUTPUT
- name: Get Release Metadata - name: Get Release Metadata