Skip to content

Commit ba2f897

Browse files
authored
chore(ci): fetch entire history for lerna versioning (#2391)
* chore: fetch entire history for lerna versioning * chore: add comment
1 parent 84a5ff8 commit ba2f897

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/make-version.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
2222
with:
2323
ref: ${{ github.ref }}
24+
fetch-depth: 0 # fetch all history, commits and tags, lerna scans it to the last tag and looks at commits, we need all of it to determine the next version
2425
- name: Setup NodeJS
2526
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
2627
with:

0 commit comments

Comments
 (0)