Skip to content

Commit

Permalink
Fixes to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mullak99 committed Feb 4, 2024
1 parent 23af2ef commit 75ae4d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-bedrock-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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//-/ }"
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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//-/ }"
Expand All @@ -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
Expand Down

0 comments on commit 75ae4d0

Please sign in to comment.