From b33e90cf1115bc20a86bfa7809675b604da3567a Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Sun, 3 Jan 2021 20:46:59 +0100 Subject: [PATCH] Update RELEASE docs fixes #348 --- RELEASE.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index ff1c5e5a..67119df2 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -63,8 +63,14 @@ git push --tags To provide a signed tarball for distributions we use sdist and gpg: ``` -python setup.py sdist -gpg -u markus@lazyfrosch.de --armor \ +VERSION=$(git describe --tags | sed s/^v//) +GPGKEY=$(git config --get user.email) + +mkdir -p dist + +git archive HEAD --prefix terminator-${VERSION}/ -o dist/terminator-${VERSION}.tar.gz + +gpg -u ${GPGKEY} --armor \ --output dist/terminator-${VERSION}.tar.gz.asc \ --detach-sig dist/terminator-${VERSION}.tar.gz ```