Add iteration too.

This commit is contained in:
David Newhall II 2019-06-05 02:22:10 -07:00
parent f206497570
commit 536e94397f
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ sed "s#ExecStart.*#ExecStart=${BINFIX}/bin/${BINARY} --config=${PREFIX}/etc/${BI
fpm -s dir -t ${OUTPUT} \
--name ${BINARY} \
--version ${VERSION} \
--iteration $(git rev-list --all --count) \
--after-install scripts/after-install.sh \
--before-remove scripts/before-remove.sh \
--license MIT \

View File

@ -36,6 +36,7 @@ cp init/launchd/com.github.davidnewhall.unifi-poller.plist package_build/Library
fpm -s dir -t osxpkg \
--name ${BINARY} \
--version ${VERSION} \
--iteration $(git rev-list --all --count) \
--after-install scripts/after-install-osx.sh \
--osxpkg-identifier-prefix com.github.davidnewhall \
--license MIT \