Skip to content

Commit

Permalink
Add fetch-depth: 0 for release-workflows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Jan 4, 2024
1 parent 8b257d1 commit 79c6fcc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
show-progress: false
fetch-depth: 0
fetch-tags: true

- name: Tag and Release
Expand All @@ -31,12 +32,8 @@ jobs:
latestRelease=0
fi
echo $latestRelease
releaseVersion=v$(($latestRelease + 1))
echo $releaseVersion
for file in ./.github/workflows/spring-*; do
sed -i "1,/WORKFLOWS_REF:.*/s/WORKFLOWS_REF:.*/WORKFLOWS_REF: $releaseVersion/" $file
done
Expand Down

0 comments on commit 79c6fcc

Please sign in to comment.