Skip to content

Commit

Permalink
externalized version and release in the fpm script to work with CI/CD…
Browse files Browse the repository at this point in the history
… better
  • Loading branch information
BIAndrews committed Apr 14, 2015
1 parent 2e2dafc commit 08a5e54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/fpm-createPackages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ URI="https://github.com/BIAndrews/sshfail2kml"
LIC="GPLv3"
PROV="sshfail2kml"
EMAIL="[email protected]"
VER="#VER#"
RELEASE="#BUILD#"
. version.sh

install -d $DIR/var/lib/sshfail2kml $DIR/etc/cron.d $DIR/usr/bin
cp -f ../sshfail2kml $DIR/usr/bin
Expand Down
3 changes: 3 additions & 0 deletions contrib/version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# example, external file to work better with CI/CD
VER="1.99"
RELEASE="100"

0 comments on commit 08a5e54

Please sign in to comment.