Skip to content

Commit

Permalink
build: fetch complete git history
Browse files Browse the repository at this point in the history
In order to build a image with which contains the correct git version
SHA we need to complete git tree. Otherwise 'git describe' only returns
the last tag name.

Signed-off-by: Daniel Wagner <[email protected]>
  • Loading branch information
igaw committed Jul 12, 2024
1 parent 53b4661 commit 91bf1cb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
image: ghcr.io/igaw/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: fixup permissions
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: build
run: |
scripts/build.sh appimage
Expand Down

0 comments on commit 91bf1cb

Please sign in to comment.