lnav/release/vagrant-static/build-pkg.sh
Timothy Stack 4ecc88292a [release] build packages with fpm
Add a separate vagrant vm to run fpm since the centos 5
one is too old and then use it to produce deb and rpm
files.
2016-02-28 11:40:26 -08:00

31 lines
681 B
Bash
Executable File

#!/usr/bin/env bash
VERSION=$1
fpm --verbose \
-s zip \
-t rpm \
-n "lnav" \
-v $VERSION \
-p /vagrant/ \
-a native \
--url http://lnav.org \
-m 'timothyshanestack@gmail.com' \
--description 'A log file viewer and analyzer for the terminal' \
--license BSD-2-Clause \
--category 'System/Monitoring' \
/vagrant/lnav-linux.zip
fpm --verbose \
-s zip \
-t deb \
-n "lnav" \
-v $VERSION \
-p /vagrant/ \
-a native \
--url http://lnav.org \
-m 'timothyshanestack@gmail.com' \
--description 'A log file viewer and analyzer for the terminal' \
--license BSD-2-Clause \
/vagrant/lnav-linux.zip