Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Cleanup #83

Merged
merged 3 commits into from
Jul 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/release-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,21 @@ jobs:
${{ steps.pr.outputs.labels }}
END
)
echo "Outputs"
echo "${{ steps.pr.outputs.title }}"
echo "Run with labels"
echo "$LABELS"
IFS='\n' read -ra LABEL <<< "$LABELS"
for i in "${LABEL[@]}"; do
echo $i
case $i in
# Will just use the first occurence
'major'|'minor'|'patch')
echo "::set-output name=release-label::$i"
echo "RELEASE_LABEL=$i" >> $GITHUB_OUTPUT
break
esac
done

- uses: zwaldowski/semver-release-action@v2
with:
dry_run: true
bump: ${{ steps.match-label-bash.outputs.release-label }}
bump: ${{ steps.match-label-bash.outputs.RELEASE_LABEL }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Set version output
Expand Down
Loading