Skip to content

Commit

Permalink
Use fetch-depth: 0 to avoid git error
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverswitzer committed Dec 2, 2024
1 parent a54c02e commit b575ed6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Get calculated version
id: version
Expand All @@ -53,7 +55,7 @@ jobs:
sed -i 's/version: ".*"/version: "'${RELEASE_VERSION#v}'"/g' mix.exs
git add mix.exs
git commit -m "chore: Bump version to ${RELEASE_VERSION}"
git push origin ${{ github.ref }}
git push origin HEAD:${{ github.ref }}
- name: Create GitHub Release
env:
Expand Down

0 comments on commit b575ed6

Please sign in to comment.