mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-24 09:06:13 -04:00
Include release scripts
This commit is contained in:
parent
aa91af32a5
commit
efaf76e9ab
4 changed files with 84 additions and 0 deletions
12
contrib/sign-release
Executable file
12
contrib/sign-release
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
|
||||
project="$(basename "$(pwd)")"
|
||||
last=$(git describe --tags --abbrev=0)
|
||||
|
||||
prefix="$project-${last#v}"
|
||||
archive="$prefix.tar.gz"
|
||||
|
||||
git archive --prefix="$prefix/" -o "$archive" "$last"
|
||||
gpg --output "$archive".sig --detach-sig "$archive"
|
||||
Loading…
Add table
Add a link
Reference in a new issue