Merge branch 'dind-develop-update' into 'develop'

update pathing for the jq queary to get the real latest published pre-release

See merge request kasm-technologies/internal/kasm_workspaces_dind!3
This commit is contained in:
Justin Travis 2022-07-08 00:14:25 +00:00
commit 60732c46fb

View file

@ -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' \