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 60f9e4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
image: ghcr.io/igaw/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
- name: get tags
run: |
git fetch --tags origin
git desribe
- name: build
run: |
scripts/build.sh appimage
Expand Down

0 comments on commit 60f9e4f

Please sign in to comment.