chore: add encryption tools

This commit is contained in:
Alexander Navarro 2025-01-20 16:08:31 -03:00
parent 6e72e0ccff
commit f77175307f
6 changed files with 72 additions and 15 deletions

View file

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euxo pipefail
basedir=".devfiles/bin"
repo="$1"
shift
release_filename="$1"
shift
out_filename="$basedir/$1"
shift
curl -sSL "https://github.com/$repo/releases/latest/download/$release_filename" -o "$out_filename"
chmod +x "$out_filename"