knox ревизій цього gist . До ревизії
1 file changed, 5 insertions
Windmill-3.sh(файл створено)
@@ -0,0 +1,5 @@ | |||
1 | + | BINARY_NAME='windmill-amd64' # or windmill-ee-amd64 for the enterprise edition | |
2 | + | LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/windmill-labs/windmill/releases/latest) | |
3 | + | LATEST_VERSION=$(echo $LATEST_RELEASE | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/') | |
4 | + | ARTIFACT_URL="https://github.com/windmill-labs/windmill/releases/download/$LATEST_VERSION/$BINARY_NAME" | |
5 | + | wget "$ARTIFACT_URL" -O windmill |
Новіше
Пізніше