Add sops and age dotslash binaries
Assisted-by: Claude Opus 4.7 via Claude Code
change yqwwuwqxvpsvwmskywmouzpxlzwqqkvn
commit 5a11f1e96728314d22cd02a2eac93e76b53dc558
author Alpha Chen <alpha@kejadlen.dev>
date
parent pxoosmvm
diff --git a/Rakefile b/Rakefile
index f614d717..25cc0974 100644
--- a/Rakefile
+++ b/Rakefile
@@ -102,8 +102,33 @@ namespace :dotslash do
     update_dotslash_release(name: "zizmor", repo: "zizmorcore/zizmor") { |tag| "zizmor-aarch64-apple-darwin.tar.gz" }
   end
 
+  desc "Update sops"
+  task(:sops) do
+    update_dotslash_release(name: "sops", repo: "getsops/sops") { |tag| "sops-#{tag}.darwin.arm64" }
+  end
+
+  desc "Update age"
+  task(:age) do
+    update_dotslash_release(name: "age", repo: "FiloSottile/age", path: "age/age") { |tag| "age-#{tag}-darwin-arm64.tar.gz" }
+  end
+
+  desc "Update age-keygen"
+  task("age-keygen") do
+    update_dotslash_release(name: "age-keygen", repo: "FiloSottile/age", path: "age/age-keygen") { |tag| "age-#{tag}-darwin-arm64.tar.gz" }
+  end
+
   desc "Update all dotslash files"
-  task all: [:pinch, :jq, :jj, :just, :fzf, :zizmor]
+  task all: %i[
+    age
+    age-keygen
+    fzf
+    jj
+    jq
+    just
+    pinch
+    sops
+    zizmor
+  ]
 end
 
 desc "Upgrade neovim"
diff --git a/bin/age b/bin/age
new file mode 100755
index 00000000..febfc4b8
--- /dev/null
+++ b/bin/age
@@ -0,0 +1,25 @@
+#!/usr/bin/env dotslash
+
+{
+  "name": "age",
+  "platforms": {
+    "macos-aarch64": {
+      "size": 9685129,
+      "hash": "blake3",
+      "digest": "d86f2a77816f81bf07ca2c983649b1a72d026f73aec09c3b80d42e1ac34e2b7b",
+      "format": "tar.gz",
+      "path": "age/age",
+      "providers": [
+        {
+          "url": "https://github.com/FiloSottile/age/releases/download/v1.3.1/age-v1.3.1-darwin-arm64.tar.gz"
+        },
+        {
+          "type": "github-release",
+          "repo": "https://github.com/FiloSottile/age",
+          "tag": "v1.3.1",
+          "name": "age-v1.3.1-darwin-arm64.tar.gz"
+        }
+      ]
+    }
+  }
+}
diff --git a/bin/age-keygen b/bin/age-keygen
new file mode 100755
index 00000000..c112630b
--- /dev/null
+++ b/bin/age-keygen
@@ -0,0 +1,25 @@
+#!/usr/bin/env dotslash
+
+{
+  "name": "age-keygen",
+  "platforms": {
+    "macos-aarch64": {
+      "size": 9685129,
+      "hash": "blake3",
+      "digest": "d86f2a77816f81bf07ca2c983649b1a72d026f73aec09c3b80d42e1ac34e2b7b",
+      "format": "tar.gz",
+      "path": "age/age-keygen",
+      "providers": [
+        {
+          "url": "https://github.com/FiloSottile/age/releases/download/v1.3.1/age-v1.3.1-darwin-arm64.tar.gz"
+        },
+        {
+          "type": "github-release",
+          "repo": "https://github.com/FiloSottile/age",
+          "tag": "v1.3.1",
+          "name": "age-v1.3.1-darwin-arm64.tar.gz"
+        }
+      ]
+    }
+  }
+}
diff --git a/bin/sops b/bin/sops
new file mode 100755
index 00000000..31998cc8
--- /dev/null
+++ b/bin/sops
@@ -0,0 +1,24 @@
+#!/usr/bin/env dotslash
+
+{
+  "name": "sops",
+  "platforms": {
+    "macos-aarch64": {
+      "size": 48979010,
+      "hash": "blake3",
+      "digest": "9c84497d9d052788d9519ae48b5256efb61955d54a8173978dde83eba90a6499",
+      "path": "sops",
+      "providers": [
+        {
+          "url": "https://github.com/getsops/sops/releases/download/v3.12.2/sops-v3.12.2.darwin.arm64"
+        },
+        {
+          "type": "github-release",
+          "repo": "https://github.com/getsops/sops",
+          "tag": "v3.12.2",
+          "name": "sops-v3.12.2.darwin.arm64"
+        }
+      ]
+    }
+  }
+}