mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 15:09:05 +01:00
Debian does not like underscores in the version
This commit is contained in:
parent
10df95e3f2
commit
de2e522f52
1
Makefile
1
Makefile
@ -113,7 +113,6 @@ DEB: scripts/cc-metric-collector.deb.control $(APP)
|
|||||||
@VERS=$$(git describe --tags --abbrev=0 $${COMMITISH})
|
@VERS=$$(git describe --tags --abbrev=0 $${COMMITISH})
|
||||||
@if [ -z "$${VERS}" ]; then VERS=${GITHUB_REF_NAME}; fi
|
@if [ -z "$${VERS}" ]; then VERS=${GITHUB_REF_NAME}; fi
|
||||||
@VERS=$${VERS#v}
|
@VERS=$${VERS#v}
|
||||||
@VERS=$$(echo $${VERS} | sed -e s+'-'+'_'+g)
|
|
||||||
@ARCH=$$(uname -m)
|
@ARCH=$$(uname -m)
|
||||||
@ARCH=$$(echo $${ARCH} | sed -e s+'_'+'-'+g)
|
@ARCH=$$(echo $${ARCH} | sed -e s+'_'+'-'+g)
|
||||||
@if [ "$${ARCH}" = "x86-64" ]; then ARCH=amd64; fi
|
@if [ "$${ARCH}" = "x86-64" ]; then ARCH=amd64; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user