diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index bb61f224..2fc43aec 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -52,7 +52,7 @@ jobs: if: github.ref == 'refs/heads/${{ env.BRANCH_PREFIX }}' id: minecraft_version run: | - minecraft_version_val=$(grep "mod_version" gradle.properties | cut -d'=' -f2 | cut -d'-' -f1 | tr -d '\n') + minecraft_version_val=$(grep "mod_version" gradle.properties | cut -d'+' -f2 | cut -d'-' -f1 | tr -d '\n') echo "minecraft_version=$minecraft_version_val" >> $GITHUB_OUTPUT - name: deploy with mc-publish if: github.ref == 'refs/heads/${{ env.BRANCH_PREFIX }}'