From 75ae4d07f1aa3bde6140f979187decf6456e99aa Mon Sep 17 00:00:00 2001 From: mullak99 Date: Sun, 4 Feb 2024 04:33:34 +0000 Subject: [PATCH] Fixes to actions --- .github/workflows/create-bedrock-pack.yml | 8 ++++---- .github/workflows/create-pack.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/create-bedrock-pack.yml b/.github/workflows/create-bedrock-pack.yml index 4369bb19..e2e8291a 100644 --- a/.github/workflows/create-bedrock-pack.yml +++ b/.github/workflows/create-bedrock-pack.yml @@ -35,7 +35,7 @@ jobs: - name: Construct filename id: construct_filename run: | - filename="${{ env.PACK_NAME }}-${{ steps.get_version.outputs.MCVERSION }}-R${{ steps.get_version.outputs.RELVERSION }}" + filename="${{ env.PACK_NAME }}-${{ steps.get_version.outputs.MCVERSION }}-r${{ steps.get_version.outputs.RELVERSION }}" if [[ -n "${{ steps.get_version.outputs.RELSUBVERSION }}" ]]; then filename="${filename}_${{ steps.get_version.outputs.RELSUBVERSION }}" fi @@ -60,7 +60,7 @@ jobs: - name: Construct release name id: construct_release_name run: | - base_name="${{ env.PACK_NAME_SPACE }} | ${{ steps.get_version.outputs.MCVERSION }}-R${{ steps.get_version.outputs.RELVERSION }}" + base_name="${{ env.PACK_NAME_SPACE }} | ${{ steps.get_version.outputs.MCVERSION }}-r${{ steps.get_version.outputs.RELVERSION }}" if [[ -n "${{ steps.get_version.outputs.RELSUBVERSION }}" ]]; then relsubversion="${{ steps.get_version.outputs.RELSUBVERSION }}" relsubversion="${relsubversion//-/ }" @@ -73,9 +73,9 @@ jobs: - name: Construct tag name id: construct_tag run: | - tag_name="${{ steps.get_version.outputs.MCVERSION }}-R${{ steps.get_version.outputs.RELVERSION }}-BEDROCK" + tag_name="${{ steps.get_version.outputs.MCVERSION }}-r${{ steps.get_version.outputs.RELVERSION }}" if [[ -n "${{ steps.get_version.outputs.RELSUBVERSION }}" ]]; then - tag_name="${tag_name}_${{ steps.get_version.outputs.RELSUBVERSION }}-BEDROCK" + tag_name="${tag_name}_${{ steps.get_version.outputs.RELSUBVERSION }}" fi echo "::set-output name=tag::$tag_name" - name: Determine pre-release status diff --git a/.github/workflows/create-pack.yml b/.github/workflows/create-pack.yml index 0317818a..0b496519 100644 --- a/.github/workflows/create-pack.yml +++ b/.github/workflows/create-pack.yml @@ -35,7 +35,7 @@ jobs: - name: Construct filename id: construct_filename run: | - filename="${{ env.PACK_NAME }}-${{ steps.get_version.outputs.MCVERSION }}-R${{ steps.get_version.outputs.RELVERSION }}" + filename="${{ env.PACK_NAME }}-${{ steps.get_version.outputs.MCVERSION }}-r${{ steps.get_version.outputs.RELVERSION }}" if [[ -n "${{ steps.get_version.outputs.RELSUBVERSION }}" ]]; then filename="${filename}_${{ steps.get_version.outputs.RELSUBVERSION }}" fi @@ -60,7 +60,7 @@ jobs: - name: Construct release name id: construct_release_name run: | - base_name="${{ env.PACK_NAME_SPACE }} | ${{ steps.get_version.outputs.MCVERSION }}-R${{ steps.get_version.outputs.RELVERSION }}" + base_name="${{ env.PACK_NAME_SPACE }} | ${{ steps.get_version.outputs.MCVERSION }}-r${{ steps.get_version.outputs.RELVERSION }}" if [[ -n "${{ steps.get_version.outputs.RELSUBVERSION }}" ]]; then relsubversion="${{ steps.get_version.outputs.RELSUBVERSION }}" relsubversion="${relsubversion//-/ }" @@ -73,7 +73,7 @@ jobs: - name: Construct tag name id: construct_tag run: | - tag_name="${{ steps.get_version.outputs.MCVERSION }}-R${{ steps.get_version.outputs.RELVERSION }}" + tag_name="${{ steps.get_version.outputs.MCVERSION }}-r${{ steps.get_version.outputs.RELVERSION }}" if [[ -n "${{ steps.get_version.outputs.RELSUBVERSION }}" ]]; then tag_name="${tag_name}_${{ steps.get_version.outputs.RELSUBVERSION }}" fi