mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-05-15 10:03:07 +00:00
feat(global): stage config and scripts to version control
Including just one script from ~sircmpwn for signing release source tarballs. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
e1e9e231a9
commit
785f38b9a5
7 changed files with 240 additions and 0 deletions
8
bin/sign-tarball
Executable file
8
bin/sign-tarball
Executable file
|
@ -0,0 +1,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 940047813E9D641C "$project-$version.tar.gz" \
|
||||
>/tmp/"$project-$version".tar.gz.sig
|
Loading…
Add table
Add a link
Reference in a new issue