mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-02 20:16:15 -04:00
Release action: Do not fail if "latest" is not set (#793)
This commit is contained in:
parent
5967b98c25
commit
a1d59df1c3
1 changed files with 2 additions and 2 deletions
4
.github/workflows/on-release.yml
vendored
4
.github/workflows/on-release.yml
vendored
|
@ -38,11 +38,11 @@ jobs:
|
||||||
aws-region: eu-central-1
|
aws-region: eu-central-1
|
||||||
|
|
||||||
- name: Update OS images
|
- name: Update OS images
|
||||||
|
working-directory: hack/add-version
|
||||||
run: |
|
run: |
|
||||||
latest=$( [[ "${{ inputs.latest }}" = "true" ]] && echo "--latest")
|
latest=$([[ "${{ inputs.latest }}" = "true" ]] && echo "--latest" || echo "")
|
||||||
go run main.go \
|
go run main.go \
|
||||||
--version "${{ github.event.release.tag_name }}${{ github.event.inputs.tag }}" \
|
--version "${{ github.event.release.tag_name }}${{ github.event.inputs.tag }}" \
|
||||||
--stream stable \
|
--stream stable \
|
||||||
--release \
|
--release \
|
||||||
"${latest}"
|
"${latest}"
|
||||||
working-directory: hack/add-version
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue