Skip to content

Commit

Permalink
fix: run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
khalifaa55 committed Jan 23, 2025
1 parent f509c3d commit 01f762c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ jobs:
# Get the new version from commitizen
new_version="$(cz version --project)"
current_branch="$(git branch --show-current)"
remote_repo="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
echo "Pull and push..."
git pull "$remote_repo" "$current_branch"
git push "$remote_repo" "HEAD:${current_branch}" --tags
# Output version number for next steps
echo "version=${new_version}" >> $GITHUB_OUTPUT
Expand All @@ -196,4 +196,4 @@ jobs:
prerelease: true
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 01f762c

Please sign in to comment.