Naposledy aktivní 1730176055

knox revidoval tento gist 1730176055. Přejít na revizi

1 file changed, 5 insertions

Windmill-3.sh(vytvořil soubor)

@@ -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
Novější Starší