diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8253c06..db44980 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.1.4 + with: + fetch-depth: 0 - uses: actions/setup-node@v4 with: registry-url: 'https://registry.npmjs.org' diff --git a/release-actions.sh b/release-actions.sh index ae4bc6d..026bebc 100755 --- a/release-actions.sh +++ b/release-actions.sh @@ -27,6 +27,7 @@ releaseProd(){ fi echo "=> Get "$BRANCH" branch of arlas-d3 project" + git fetch git checkout "$BRANCH" git pull origin "$BRANCH" echo "=> Test to lint and build the project on "$BRANCH" branch"