|
5 | 5 | class OpslevelMcp < Formula |
6 | 6 | desc "Opslevel MCP Server" |
7 | 7 | homepage "https://www.opslevel.com/" |
8 | | - version "2026.2.18" |
| 8 | + version "2026.3.31" |
9 | 9 | license "MIT" |
10 | 10 |
|
11 | 11 | depends_on "jq" |
12 | 12 |
|
13 | 13 | on_macos do |
14 | 14 | if Hardware::CPU.intel? |
15 | | - url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.2.18/opslevel-mcp-darwin-amd64.tar.gz" |
16 | | - sha256 "ed5689ec896913eb59349e1062856796b891c384f88ece2f21048041b54d229c" |
| 15 | + url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.3.31/opslevel-mcp-darwin-amd64.tar.gz" |
| 16 | + sha256 "2867f26f49fffcbc85d4baea726ccaee37dfb7b7496906f3d2e3740db5896d8a" |
17 | 17 |
|
18 | | - def install |
| 18 | + define_method(:install) do |
19 | 19 | bin.install "opslevel-mcp" |
20 | 20 | end |
21 | 21 | end |
22 | 22 | if Hardware::CPU.arm? |
23 | | - url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.2.18/opslevel-mcp-darwin-arm64.tar.gz" |
24 | | - sha256 "8e04c14e2320155736325ebc1d866c4abbea4ffe7a9485d509b1b6251adf309d" |
| 23 | + url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.3.31/opslevel-mcp-darwin-arm64.tar.gz" |
| 24 | + sha256 "4ce63aa87809b48aae8b3cc22b5f2cda54fc3d9b5bb24d88a3cc2831486dcc05" |
25 | 25 |
|
26 | | - def install |
| 26 | + define_method(:install) do |
27 | 27 | bin.install "opslevel-mcp" |
28 | 28 | end |
29 | 29 | end |
30 | 30 | end |
31 | 31 |
|
32 | 32 | on_linux do |
33 | 33 | if Hardware::CPU.intel? && Hardware::CPU.is_64_bit? |
34 | | - url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.2.18/opslevel-mcp-linux-amd64.tar.gz" |
35 | | - sha256 "8250bbc85148552073c370e6c61c25d77a3bf033c1fbaf5b9fc1342acf98befd" |
36 | | - def install |
| 34 | + url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.3.31/opslevel-mcp-linux-amd64.tar.gz" |
| 35 | + sha256 "dca58c7f6f969295abea174e0f7c6186b3aef3074a21e5e4d94f51ed40812020" |
| 36 | + define_method(:install) do |
37 | 37 | bin.install "opslevel-mcp" |
38 | 38 | end |
39 | 39 | end |
40 | 40 | if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit? |
41 | | - url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.2.18/opslevel-mcp-linux-arm.tar.gz" |
42 | | - sha256 "344c98d356cf26e7134891df7436bc9e23f30a2557ceba03071cef25174041a4" |
43 | | - def install |
| 41 | + url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.3.31/opslevel-mcp-linux-arm.tar.gz" |
| 42 | + sha256 "d1791c80e3f218252467681e92bd6e2c858069362b8245bd4fae697e4140e629" |
| 43 | + define_method(:install) do |
44 | 44 | bin.install "opslevel-mcp" |
45 | 45 | end |
46 | 46 | end |
47 | 47 | if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? |
48 | | - url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.2.18/opslevel-mcp-linux-arm64.tar.gz" |
49 | | - sha256 "2a68ac4c372521c4cd4a5e86675ce4ac2f4dc3db9616f41dc27e966a04b992fc" |
50 | | - def install |
| 48 | + url "https://github.com/OpsLevel/opslevel-mcp/releases/download/v2026.3.31/opslevel-mcp-linux-arm64.tar.gz" |
| 49 | + sha256 "6d11b7b035de749cbc95161b8508e7fc234a11dfc33abecd3379d611d6fafde0" |
| 50 | + define_method(:install) do |
51 | 51 | bin.install "opslevel-mcp" |
52 | 52 | end |
53 | 53 | end |
|
0 commit comments