最后活跃于 1730176055

knox 修订了这个 Gist 1730176055. 跳至此修订

1 file changed, 5 insertions

Windmill-3.sh(file created)

@@ -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
更新 更早