mirror of
https://github.com/Icinga/docker-icinga2.git
synced 2026-05-04 18:36:14 +02:00
Make icinga2 --version display the actual git version
By default, actions/checkout sets fetch-depth to 1, meaning it will not fetch enough information to use `git describe --tags` as used by our CMakeLists to determine the version number. Setting it to 0 means to fetch all history.
This commit is contained in:
parent
76b7f7b2e3
commit
2cf967828b
@ -13,7 +13,7 @@ cache () {
|
||||
mkimg () {
|
||||
test -n "$TAG"
|
||||
|
||||
node /actions/checkout/dist/index.js |grep -vFe ::add-matcher::
|
||||
env INPUT_FETCH-DEPTH=0 node /actions/checkout/dist/index.js |grep -vFe ::add-matcher::
|
||||
cache restore
|
||||
|
||||
mkdir -p ccache
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user