Skip to content

Commit

Permalink
Merge pull request #878 from gisaia/ci/fetchOptions
Browse files Browse the repository at this point in the history
ci: set checkout fetch-depth to 0
  • Loading branch information
sebbousquet authored Oct 30, 2024
2 parents 949fbfc + 70a49f1 commit 9957cec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 1 addition & 1 deletion release-actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ releaseProd(){
fi

echo "=> Get "$BRANCH" branch of ARLAS-web-components project"
git fetch
git checkout "$BRANCH"
git pull origin "$BRANCH"
echo "=> Test to lint and build the project on "$BRANCH" branch"
Expand Down Expand Up @@ -82,7 +83,6 @@ releaseProd(){
if [ "$BRANCH" == "develop" ] && [ "$STAGE_LOCAL" == "stable" ];
then
echo "=> Merge develop into master"
git fetch
git checkout master
git pull origin master
git merge origin/develop
Expand Down

0 comments on commit 9957cec

Please sign in to comment.