Skip to content

Commit

Permalink
chore: github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ajiu9 committed Oct 25, 2024
1 parent fb89b91 commit 05feffc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,11 @@ jobs:
git config user.name "ajiu9"
git config user.email "[email protected]"
git checkout main
git merge release --no-ff -m "Merge release into main" --allow-unrelated-histories
git merge release --no-ff -m "Merge release into main" --allow-unrelated-histories || true
if [ -n "$(git status --porcelain)" ]; then
echo "Conflicts detected. Resolving conflicts..."
# 手动解决冲突
git add .
git commit -m "Resolve merge conflicts"
fi
git push origin main

0 comments on commit 05feffc

Please sign in to comment.