Skip to content

Commit 0c797cf

Browse files
committed
ZENKO-2200 Keep the .git/HEAD file to properly report version
1 parent 8c8902c commit 0c797cf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.dockerignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
node_modules
22
localData/*
33
localMetadata/*
4-
.git
4+
# Keep the .git/HEAD file in order to properly report version
5+
.git/objects
56
.github
67
.tox
78
coverage

eve/main.yml

+5
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ stages:
152152
- ShellCommand: *yarn-install
153153
- ShellCommand: *add-hostname
154154
- ShellCommand: *credentials
155+
- ShellCommand:
156+
name: Unit Coverage mandatory file
157+
command: |
158+
set -ex
159+
test -f .git/HEAD
155160
- ShellCommand:
156161
name: Linting
157162
command: |

0 commit comments

Comments
 (0)