From de2e522f5211ad1c4e71951630f4ee08a8ecdb4c Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Tue, 20 Dec 2022 13:35:21 +0100 Subject: [PATCH] Debian does not like underscores in the version --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index b010cd8..8b62dab 100644 --- a/Makefile +++ b/Makefile @@ -113,7 +113,6 @@ DEB: scripts/cc-metric-collector.deb.control $(APP) @VERS=$$(git describe --tags --abbrev=0 $${COMMITISH}) @if [ -z "$${VERS}" ]; then VERS=${GITHUB_REF_NAME}; fi @VERS=$${VERS#v} - @VERS=$$(echo $${VERS} | sed -e s+'-'+'_'+g) @ARCH=$$(uname -m) @ARCH=$$(echo $${ARCH} | sed -e s+'_'+'-'+g) @if [ "$${ARCH}" = "x86-64" ]; then ARCH=amd64; fi