package-source.bash: also create source-only tarball
We used to only create a source + dependecies tarball, but having a source-only tarball makes packaging deb/rpm easier.
This commit is contained in:
parent
a85dbcab38
commit
1ae218b417
@ -16,12 +16,19 @@ git_archive_extra() {
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
GITVERSION=$(git describe --tags --dirty)
|
GITVERSION=$(git describe --tags --dirty)
|
||||||
PREFIX=gocryptfs_${GITVERSION}_src-deps
|
|
||||||
|
|
||||||
dep ensure
|
|
||||||
echo $GITVERSION > VERSION
|
echo $GITVERSION > VERSION
|
||||||
git_archive_extra $PREFIX VERSION vendor
|
|
||||||
|
# gocryptfs source tarball
|
||||||
|
PREFIX_SRC_ONLY=gocryptfs_${GITVERSION}_src
|
||||||
|
git_archive_extra $PREFIX_SRC_ONLY VERSION
|
||||||
|
|
||||||
|
# gocryptfs source + dependencies tarball
|
||||||
|
dep ensure
|
||||||
|
PREFIX_SRC_DEPS=gocryptfs_${GITVERSION}_src-deps
|
||||||
|
git_archive_extra $PREFIX_SRC_DEPS VERSION vendor
|
||||||
|
|
||||||
rm VERSION
|
rm VERSION
|
||||||
|
|
||||||
echo "Tar created."
|
echo "Tars created."
|
||||||
echo "Hint for signing: gpg -u 23A02740 --armor --detach-sig $PREFIX.tar.gz"
|
echo "Hint for signing: gpg -u 23A02740 --armor --detach-sig $PREFIX_SRC_ONLY.tar.gz"
|
||||||
|
echo " gpg -u 23A02740 --armor --detach-sig $PREFIX_SRC_DEPS.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user