From 7517aae7381fb3df3230063aec9a7e6a99cbf6e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20Bergn=C3=A9hr?= Date: Fri, 27 Feb 2026 18:14:53 +0100 Subject: [PATCH 1/3] registry: add porter (github:getporter/porter) --- registry/porter.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 registry/porter.toml diff --git a/registry/porter.toml b/registry/porter.toml new file mode 100644 index 0000000000..996fa15b75 --- /dev/null +++ b/registry/porter.toml @@ -0,0 +1,9 @@ +description = "CNAB bundle authoring and management tool" +test = { cmd = "porter version", expected = "porter v{{version}}" } + +[[backends]] +full = "github:getporter/porter" + +[backends.options] +asset_pattern = "porter-{{ os(macos='darwin') }}-{{ arch(x64='amd64') }}" +bin = "porter" \ No newline at end of file From d0c5b6f1cc91000fefb1743dd860a233388fe3a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20Bergn=C3=A9hr?= Date: Fri, 27 Feb 2026 18:14:54 +0100 Subject: [PATCH 2/3] [autofix.ci] apply automated fixes --- registry/porter.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/porter.toml b/registry/porter.toml index 996fa15b75..4a379c0515 100644 --- a/registry/porter.toml +++ b/registry/porter.toml @@ -6,4 +6,4 @@ full = "github:getporter/porter" [backends.options] asset_pattern = "porter-{{ os(macos='darwin') }}-{{ arch(x64='amd64') }}" -bin = "porter" \ No newline at end of file +bin = "porter" From 040f6b04ac0a6032ca69ecb4c35c00b2668aad13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20Bergn=C3=A9hr?= Date: Fri, 27 Feb 2026 18:14:54 +0100 Subject: [PATCH 3/3] Add Windows platform support --- registry/porter.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/registry/porter.toml b/registry/porter.toml index 4a379c0515..6565dede50 100644 --- a/registry/porter.toml +++ b/registry/porter.toml @@ -5,5 +5,11 @@ test = { cmd = "porter version", expected = "porter v{{version}}" } full = "github:getporter/porter" [backends.options] -asset_pattern = "porter-{{ os(macos='darwin') }}-{{ arch(x64='amd64') }}" +asset_pattern = "porter-{{ os(macos='darwin') }}-{{ arch(x64='amd64') }}{% if os() == 'windows' %}.exe{% endif %}" bin = "porter" + +[backends.options.platforms.windows-x64] +bin = "porter.exe" + +[backends.options.platforms.windows-arm64] +bin = "porter.exe"