~sircmpwn/dotfiles

ref: dbab39e7d0729a136a4861bdf68da3e35a8c8ca1 dotfiles/bin/sign-tarball -rwxr-xr-x 270 bytes
dbab39e7Drew DeVault bin/srht: update for legacy.sr.ht shim 2 months ago
                                                                                
1
2
3
4
5
6
7
8
#!/bin/sh
project="$(basename $(pwd))"
version="$(git describe)"

git archive --format=tar.gz --prefix="$project-$version/" "$version" \
	>"$project-$version.tar.gz"
gpg --detach-sign --default-key sway "$project-$version.tar.gz" \
	>/tmp/"$project-$version".tar.gz.sig