diff options
author | Jakob Unterwurzacher | 2016-11-01 15:43:33 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-11-01 15:43:33 +0100 |
commit | e993fd5fbcf8c261cc71fcb96b7fb48dcae8eb2b (patch) | |
tree | f947e71d359ffae77276ff8bea68de99fb5b19ce /package.bash | |
parent | 944eaf2fb507265d41db5685b1c8d902e20e52da (diff) |
packakge.bash: include rendered man page in tarball
Diffstat (limited to 'package.bash')
-rwxr-xr-x | package.bash | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package.bash b/package.bash index cd571ec..d3b95fd 100755 --- a/package.bash +++ b/package.bash @@ -1,14 +1,18 @@ #!/bin/bash set -eu +cd $(dirname "$0") source build.bash # Builds binary and sets GITVERSION (example: v0.7-15-gf01f599) source /etc/os-release # Sets ID (example: fedora) and VERSION_ID (example: 23) ARCH=$(go env GOARCH) +# Build gocryptfs.1 man page +./Documentation/MANPAGE-render.bash > /dev/null +cp -a ./Documentation/gocryptfs.1 . TARGZ=gocryptfs_${GITVERSION}_${ID}${VERSION_ID}_${ARCH}.tar.gz -tar czf $TARGZ gocryptfs +tar czf $TARGZ gocryptfs gocryptfs.1 echo "Tar created." echo "Hint for signing: gpg -u 23A02740 --armor --detach-sig $TARGZ" |