Last active
December 22, 2015 00:38
-
-
Save petems/6390389 to your computer and use it in GitHub Desktop.
Seyren to .deb file using FPM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Since Seyren doesn't have versioning, use Github SHA's so you can see what revision it is... | |
SEYREN_SHA="5642a0c18425ee760a9f11d63d39a81e16742660" | |
echo "[Building Seyren Deb]" | |
rm -rf build/seyren/ | |
git clone -q -b master https://github.com/scobal/seyren build/seyren; | |
cd build/seyren | |
git checkout -q $SEYREN_SHA | |
mvn clean package -q | |
cd .. | |
fpm -s dir -t deb -n seyren --deb-field "GithubSHA:$(SEYREN_SHA)" -a all -v 0.1 --prefix /opt seyren | |
echo "[Seyren Deb Build Complete]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment