From c0400f360506aee429322369f6d7b8eaa30d71b3 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Date: Tue, 9 Apr 2024 08:35:51 -0700 Subject: [PATCH] chore: fix lerna package bump issue --- .github/workflows/callable-npm-publish-lts-release.yml | 2 ++ .github/workflows/callable-npm-publish-release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/callable-npm-publish-lts-release.yml b/.github/workflows/callable-npm-publish-lts-release.yml index 148da6df84e..7711901decc 100644 --- a/.github/workflows/callable-npm-publish-lts-release.yml +++ b/.github/workflows/callable-npm-publish-lts-release.yml @@ -17,6 +17,8 @@ jobs: with: path: amplify-js token: ${{ secrets.GH_TOKEN_AMPLIFY_JS_WRITE }} + # Minimal depth 0 so we can fetch all git tags. + fetch-depth: 0 - name: Setup node and build the repository uses: ./amplify-js/.github/actions/node-and-build diff --git a/.github/workflows/callable-npm-publish-release.yml b/.github/workflows/callable-npm-publish-release.yml index 5468cb0f5a6..281eeb5a63a 100644 --- a/.github/workflows/callable-npm-publish-release.yml +++ b/.github/workflows/callable-npm-publish-release.yml @@ -24,6 +24,8 @@ jobs: with: path: amplify-js token: ${{ secrets.GH_TOKEN_AMPLIFY_JS_WRITE }} + # Minimal depth 0 so we can fetch all git tags. + fetch-depth: 0 - name: Setup node and build the repository uses: ./amplify-js/.github/actions/node-and-build