Skip to content

Commit edb1bb4

Browse files
committed
build: fetch complete git history
In order to build a image with which contains the correct git version SHA we need to fetch the complete git tree. Otherwise 'git describe' fails and we use the project version string as fallback. Signed-off-by: Daniel Wagner <dwagner@suse.de>
1 parent 9d557b8 commit edb1bb4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/appimage.yml

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ jobs:
1717
image: ghcr.io/igaw/linux-nvme/debian:latest
1818
steps:
1919
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
- name: fixup permissions
23+
env:
24+
GITHUB_WORKSPACE: ${{ github.workspace }}
25+
run: |
26+
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
2027
- name: build
2128
run: |
2229
scripts/build.sh appimage

0 commit comments

Comments
 (0)