Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

(debian) Fix commit number in about page #11292

Merged
merged 2 commits into from
Jun 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ci/scripts/centreon-deb-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ echo "################################################## PACKAGING WEB #########
AUTHOR="Luiz Costa"
AUTHOR_EMAIL="me@luizgustavo.pro.br"

# Get COMMIT number
COMMIT=$(cd centreon && git log -1 HEAD --pretty=format:%h)

# fix version to debian format accept
VERSION="$(echo $VERSION | sed 's/-/./g')"
MAJOR_VERSION="$(echo $VERSION | egrep -o '^[0-9][0-9].[0-9][0-9]')"
Expand Down