#!/bin/sh project="$(basename $(pwd))" version="$(git describe)" key="${RELEASE_SIGNING_KEY:-\"940047813E9D641C\"}" git archive --format=tar.gz --prefix="$project-$version/" "$version" \ >"$project-$version.tar.gz" gpg --detach-sign "$@" --default-key "$key" "$project-$version.tar.gz" \ >/tmp/"$project-$version".tar.gz.sig