Skip to content

Commit

Permalink
Workaround to ensure cloud plugin 0.10 can be installed on upgrades
Browse files Browse the repository at this point in the history
Signed-off-by: Kate Goldenring <[email protected]>
  • Loading branch information
kate-goldenring committed Dec 5, 2024
1 parent 76c8f0a commit 863f065
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/spin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 863f065

Please sign in to comment.