Skip to content

Commit

Permalink
fix(ci): use RELEASE instead of DISTRIB in package naming (#481) (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuntoja committed Dec 21, 2022
1 parent 7e8c647 commit 5c726c5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ci/scripts/collect-deb-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ tar --exclude={".git","build"} -czpf centreon-collect-$VERSION.tar.gz "$ROOT"
cd "$ROOT"
cp -rf ci/debian-collect debian
sed -i "s/^centreon:version=.*$/centreon:version=$(echo $VERSION-$RELEASE)/" debian/substvars
#sed -i "s/^centreon:version=.*$/centreon:version=$(echo $VERSION | egrep -o '^[0-9][0-9].[0-9][0-9]')/" debian/substvars
debmake -f "${AUTHOR}" -e "${AUTHOR_EMAIL}" -u "$VERSION" -r "$DISTRIB"
echo "debmake begin"
debmake -f "${AUTHOR}" -e "${AUTHOR_EMAIL}" -u "$VERSION" -r "$RELEASE"
echo "version de dwz"
/usr/bin/dwz -v
echo "version de gcc"
gcc --version
echo "version de ld"
ld --version
debuild-pbuilder
cd ../

0 comments on commit 5c726c5

Please sign in to comment.