Append git hash to package version when building an untaged commit

pull/3/head
Werner Sembach 4 years ago
parent 7395ff0c1b
commit c2859e1d06

@ -38,5 +38,6 @@ install(FILES res/tuxedo-touchpad-switch.desktop DESTINATION /etc/xdg/autostart/
SET(CPACK_GENERATOR DEB) SET(CPACK_GENERATOR DEB)
SET(CPACK_PACKAGE_CONTACT "Werner Sembach <tux@tuxedocomputers.com>") SET(CPACK_PACKAGE_CONTACT "Werner Sembach <tux@tuxedocomputers.com>")
SET(CPACK_PACKAGE_VERSION ${SEMVER})
SET(CPACK_DEBIAN_PACKAGE_SECTION admin) SET(CPACK_DEBIAN_PACKAGE_SECTION admin)
include(CPack) include(CPack)

Loading…
Cancel
Save