mirror of
https://github.com/tstack/lnav
synced 2024-11-01 21:40:34 +00:00
4ecc88292a
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.
31 lines
681 B
Bash
Executable File
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
|