diff options
author | Jakob Unterwurzacher | 2021-03-27 15:03:27 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-03-27 15:03:27 +0100 |
commit | b86d40de5f63e0a2c60438c50577ff1009402fd3 (patch) | |
tree | 93b4eb6b839b940f0ab9cfd5693f0b4769bca209 /package.bash | |
parent | 7e18ee6b868b231707557174a310606161e99498 (diff) |
Delete obsolete script package.bash
I only use package-static.bash nowadays.
Diffstat (limited to 'package.bash')
-rwxr-xr-x | package.bash | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/package.bash b/package.bash deleted file mode 100755 index 4c146ca..0000000 --- a/package.bash +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -eu - -cd "$(dirname "$0")" - -# Build binary and sets $GITVERSION (example: v0.7-15-gf01f599) -source build.bash - -# Set $ID (example: "fedora", "debian") and $VERSION_ID (example: "23", "8") -if [[ -e /etc/os-release ]]; then - # Modern Debian and Fedora - source /etc/os-release -elif [[ -e /etc/redhat-release ]]; then - # RHEL and CentOS - # "CentOS release 5.11 (Final)" -> "CentOS_release_5.11_Final" - ID=$(cat /etc/redhat-release | tr ' ' '_' | tr -d '()') - VERSION_ID="" -else - echo "Could not get distribution version" - ID=unknown - VERSION_ID=.unknown -fi - -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 --owner=root --group=root -czf "$TARGZ" gocryptfs gocryptfs.1 - -echo "Tar created." -echo "Hint for signing: gpg -u 23A02740 --armor --detach-sig $TARGZ" |