From 0747e771dd3103099a32b196b92a24a411477cf9 Mon Sep 17 00:00:00 2001 From: Alexander Schueren Date: Wed, 17 Apr 2024 17:18:44 +0200 Subject: [PATCH 1/2] chore: fetch entire history for lerna versioning --- .github/workflows/make-version.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/make-version.yml b/.github/workflows/make-version.yml index 7440fc92a6..163a136f4d 100644 --- a/.github/workflows/make-version.yml +++ b/.github/workflows/make-version.yml @@ -21,6 +21,7 @@ jobs: uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: ref: ${{ github.ref }} + fetch-depth: 0 - name: Setup NodeJS uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: From f41a3d136a029e67968dbb1cf613761d18331ec8 Mon Sep 17 00:00:00 2001 From: Alexander Schueren Date: Wed, 17 Apr 2024 17:27:46 +0200 Subject: [PATCH 2/2] chore: add comment --- .github/workflows/make-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/make-version.yml b/.github/workflows/make-version.yml index 163a136f4d..e61652cd03 100644 --- a/.github/workflows/make-version.yml +++ b/.github/workflows/make-version.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: ref: ${{ github.ref }} - fetch-depth: 0 + 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 - name: Setup NodeJS uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: