mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 17:22:57 +01:00
FIX: fatal error of git describe, using --always
Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
8
build.sh
8
build.sh
@@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
||||||
git_ref_core=$(cd ./intelmq && git describe --long)
|
git_ref_core=$(cd ./intelmq && git describe --long --always)
|
||||||
git_ref_manager=$(cd ./intelmq-manager && git describe --long)
|
git_ref_manager=$(cd ./intelmq-manager && git describe --long --always)
|
||||||
git_ref_api=$(cd ./intelmq-api && git describe --long)
|
git_ref_api=$(cd ./intelmq-api && git describe --long --always)
|
||||||
build_version=$(cd ./intelmq && git describe)
|
build_version=$(cd ./intelmq && git describe --always)
|
||||||
|
|
||||||
echo Building new IntelMQ-Image v$build_version
|
echo Building new IntelMQ-Image v$build_version
|
||||||
echo Core : $git_ref_core
|
echo Core : $git_ref_core
|
||||||
|
|||||||
Reference in New Issue
Block a user