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:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user