Improve packaging

Slight improvements to the man page, and the man page is now
provided in prebuilt binary tarballs. Also a .deb file is now
provided as an asset along with prebuilt binary tarballs.
This commit is contained in:
Zachary Yedidia
2020-07-06 03:13:02 +00:00
parent 102ae04a16
commit 0283155305
6 changed files with 13 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ mkdir -p micro-$1
cp LICENSE micro-$1
cp README.md micro-$1
cp LICENSE-THIRD-PARTY micro-$1
cp assets/packaging/micro.1 micro-$1
HASH="$(git rev-parse --short HEAD)"
VERSION="$(go run tools/build-version.go)"
@@ -22,6 +23,9 @@ mv micro-$1-osx.tar.gz binaries
# Linux
echo "Linux 64"
GOOS=linux GOARCH=amd64 make build
./package-deb.sh $1
mv micro_$1_amd64.deb binaries
mv micro micro-$1
tar -czf micro-$1-linux64.tar.gz micro-$1
mv micro-$1-linux64.tar.gz binaries