mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-13 08:29:38 -05:00
Release action: Do not fail if "latest" is not set (#793)
This commit is contained in:
parent
5967b98c25
commit
a1d59df1c3
4
.github/workflows/on-release.yml
vendored
4
.github/workflows/on-release.yml
vendored
@ -38,11 +38,11 @@ jobs:
|
||||
aws-region: eu-central-1
|
||||
|
||||
- name: Update OS images
|
||||
working-directory: hack/add-version
|
||||
run: |
|
||||
latest=$( [[ "${{ inputs.latest }}" = "true" ]] && echo "--latest")
|
||||
latest=$([[ "${{ inputs.latest }}" = "true" ]] && echo "--latest" || echo "")
|
||||
go run main.go \
|
||||
--version "${{ github.event.release.tag_name }}${{ github.event.inputs.tag }}" \
|
||||
--stream stable \
|
||||
--release \
|
||||
"${latest}"
|
||||
working-directory: hack/add-version
|
||||
|
Loading…
Reference in New Issue
Block a user