fix(ci): correct syntax errors in Gitea workflows
Quote shell variable assignment in auto-release to prevent word splitting and fix whitespace typo in matrix reference (`matrix .yq-os` → `matrix.yq-os`) in install-yq workflow. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -51,7 +51,7 @@ jobs:
|
|||||||
if: steps.check_change.outputs.changed == 'true'
|
if: steps.check_change.outputs.changed == 'true'
|
||||||
id: bump
|
id: bump
|
||||||
run: |
|
run: |
|
||||||
latest_tag=${{ steps.get_tag.outputs.latest_tag }}
|
latest_tag="${{ steps.get_tag.outputs.latest_tag }}"
|
||||||
IFS='.' read -r major minor patch <<< "${latest_tag#v}"
|
IFS='.' read -r major minor patch <<< "${latest_tag#v}"
|
||||||
patch=$((patch + 1))
|
patch=$((patch + 1))
|
||||||
new_tag="v${major}.${minor}.${patch}"
|
new_tag="v${major}.${minor}.${patch}"
|
||||||
|
|||||||
Reference in New Issue
Block a user