diff --git a/Formula/spin.rb b/Formula/spin.rb index 35c0b60..ead5645 100644 --- a/Formula/spin.rb +++ b/Formula/spin.rb @@ -35,6 +35,8 @@ def post_install system "#{bin}/spin", "templates", "install", "--git", "https://github.com/fermyon/spin-js-sdk", "--upgrade" system "#{bin}/spin", "plugins", "update" system "#{bin}/spin", "plugins", "install", "js2wasm", "--yes" + # Work around a bug where cloud plugin 0.10 registers as a downgrade from 0.9. Remove this after Spin 3.1 + system "#{bin}/spin", "plugins", "uninstall", "cloud" system "#{bin}/spin", "plugins", "install", "cloud", "--yes" end