chore: Fix assertion script syntax
Some checks failed
Container & Helm chart / Semantic Release (Dry-run) (push) Failing after 42s
Container & Helm chart / Container image (push) Has been skipped
Container & Helm chart / Helm chart (push) Has been skipped

This commit is contained in:
Danny Bessems 2024-02-28 10:00:38 +11:00
parent c5600cac26
commit ca1196b371

View File

@ -35,7 +35,11 @@ jobs:
GIT_CREDENTIALS: djpbessems:${{ secrets.GIT_APIKEY }}
- name: Assert semantic release output
run: |
[[ -z "${{ steps.sem_rel.outputs.version }}" ]] && (echo 'No release tag - exiting'; exit 1) || (echo 'Release tag is ${{ steps.sem_rel.outputs.version }}'; exit 0)
[[ -z "${{ steps.sem_rel.outputs.version }}" ]] && {
echo 'No release tag - exiting'; exit 1
} || {
echo 'Release tag set correctly: ${{ steps.sem_rel.outputs.version }}'; exit 0
}
Container image:
container: catthehacker/ubuntu:act-latest