Skip to content

Commit

Permalink
Setter fetch-depth til 0
Browse files Browse the repository at this point in the history
Slik at `git rev-list --all --count` skal kunne telle opp alle commits og gi riktig tall. Uten denne endringen så svarer den med tallet 1 som gir feil releaseversjon

Co-authored-by: Steinar Sørli Hegna <[email protected]>
Co-authored-by: Joakim Jacobsen <[email protected]>
  • Loading branch information
3 people authored Apr 17, 2024
1 parent 858e92e commit f5dc1e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/releaseGithub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set release tag
run: |
COMMIT_COUNT=$(git rev-list --all --count)
Expand Down

0 comments on commit f5dc1e9

Please sign in to comment.