fix for release candidat check step
This commit is contained in:
@@ -32,12 +32,16 @@ jobs:
|
|||||||
mkdir -p ./output
|
mkdir -p ./output
|
||||||
python3 SpearheadCompile.py . ./output/spearhead.lua
|
python3 SpearheadCompile.py . ./output/spearhead.lua
|
||||||
|
|
||||||
- name: Check Change size
|
|
||||||
|
- name: Check Change size PC
|
||||||
id: change_size
|
id: change_size
|
||||||
if: ${{ inputs.release_candidate == 'true' }}
|
|
||||||
run: |
|
run: |
|
||||||
size="${{ inputs.change_size }}"
|
size="${{ inputs.change_size }}"
|
||||||
echo "title=pre$size" >> "$GITHUB_OUTPUT"
|
if [ "${{ inputs.release_candidate }}" = "true" ]; then
|
||||||
|
echo "BUMP=pre$size" >> "$GITHUB_OUTPUT"
|
||||||
|
else
|
||||||
|
echo "BUMP=$size" >> "$GITHUB_OUTPUT"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
- name: Calculate Tag
|
- name: Calculate Tag
|
||||||
@@ -45,7 +49,7 @@ jobs:
|
|||||||
uses: mathieudutour/github-tag-action@v6.2
|
uses: mathieudutour/github-tag-action@v6.2
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
default_bump: ${{ inputs.change_size }}
|
default_bump: ${{ steps.change_size.outputs.patch_size }}
|
||||||
dry_run: true
|
dry_run: true
|
||||||
custom_release_rules: ""
|
custom_release_rules: ""
|
||||||
append_to_pre_release_tag: "rc"
|
append_to_pre_release_tag: "rc"
|
||||||
|
|||||||
Reference in New Issue
Block a user