mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 15:29:04 +01:00
Try fixing DEB package
This commit is contained in:
parent
821d104656
commit
317d36c9dd
2
Makefile
2
Makefile
@ -112,7 +112,9 @@ DEB: scripts/cc-metric-collector.deb.control $(APP)
|
|||||||
#@mkdir --parents --verbose $$DEBIANDIR
|
#@mkdir --parents --verbose $$DEBIANDIR
|
||||||
@CONTROLFILE="$${BASEDIR}/scripts/cc-metric-collector.deb.control"
|
@CONTROLFILE="$${BASEDIR}/scripts/cc-metric-collector.deb.control"
|
||||||
@COMMITISH="HEAD"
|
@COMMITISH="HEAD"
|
||||||
|
@git describe --tags --abbrev=0 $${COMMITISH}
|
||||||
@VERS=$$(git describe --tags --abbrev=0 $${COMMITISH})
|
@VERS=$$(git describe --tags --abbrev=0 $${COMMITISH})
|
||||||
|
@if [ -z "$$VERS" ]; then VERS=${GITHUB_REF_NAME}; fi
|
||||||
@VERS=$${VERS#v}
|
@VERS=$${VERS#v}
|
||||||
@VERS=$$(echo $$VERS | sed -e s+'-'+'_'+g)
|
@VERS=$$(echo $$VERS | sed -e s+'-'+'_'+g)
|
||||||
@ARCH=$$(uname -m)
|
@ARCH=$$(uname -m)
|
||||||
|
Loading…
Reference in New Issue
Block a user