logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://anongit.hacktivis.me/git/dotfiles.git/
commit: 7b256eadbcebd4c4259808393a498e7873989bca
parent 7f098689c4c90ed2be20463be5c1b9fae28ad2f7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  3 Feb 2025 03:35:26 +0100

archive-tags: use signify and year of git-tag to get the right key

Diffstat:

M.local/bin/archive-tags3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.local/bin/archive-tags b/.local/bin/archive-tags @@ -13,6 +13,7 @@ mkdir -p "${workdir}.archives" minisign-rotate git tag -l | egrep '^v?[0-9]+\.' | while read -r tag; do + year=$(git tag -v --format='%(taggerdate:format:%Y)' "$tag") version=$(echo $tag | sed 's/^v//') file="${workdir}.archives/${name}-$(echo "${version}" | tr '/' '_').tar.gz" @@ -24,5 +25,5 @@ git tag -l | egrep '^v?[0-9]+\.' | while read -r tag; do "${tag}" #test -f "${file}.sig" || gpg --detach-sign "${file}" - test -f "${file}.sign" || get_minisign_pass | minisign -S -x "${file}.sign" -m "${file}" + test -f "${file}.sign" || get_minisign_pass | signify -S -x "${file}.sign" -s "~/.minisign/${year}.key" -m "${file}" done