mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2024-11-10 08:59:40 +00:00
9 lines
287 B
Text
9 lines
287 B
Text
|
#!/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 940047813E9D641C "$project-$version.tar.gz" \
|
||
|
>/tmp/"$project-$version".tar.gz.sig
|