mirror of
https://github.com/kasmtech/kasm-workspaces-dind.git
synced 2026-01-23 02:35:11 +00:00
update pathing for the jq queary to get the real latest published pre-release
This commit is contained in:
parent
bb1c4260b4
commit
8dfa1a46dc
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ RUN \
|
|||
mkdir -p /wizard && \
|
||||
if [ "${RELEASE_TYPE}" == "develop" ]; then \
|
||||
KASM_VERSION=$(curl -sX GET 'https://api.github.com/repos/kasmtech/kasm-install-wizard/releases' \
|
||||
| jq -r '[.[] | select (.prerelease==true)][0].name'); \
|
||||
| jq -r 'map(select(.prerelease)) | sort_by(.published_at) | last | .tag_name'); \
|
||||
fi; \
|
||||
if [ "${RELEASE_TYPE}" == "stable" ]; then \
|
||||
KASM_VERSION=$(curl -sX GET 'https://api.github.com/repos/kasmtech/kasm-install-wizard/releases/latest' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue