mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
chore: add check for uncommitted changes before version update
This commit is contained in:
@@ -37,7 +37,11 @@ jobs:
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add -A
|
||||
git commit -m "chore: update version to ${{ github.ref_name }}"
|
||||
if git diff-index --quiet HEAD; then
|
||||
echo "No changes to commit"
|
||||
exit 0
|
||||
fi
|
||||
git commit -m "chore: update version to ${{ github.ref_name }}"
|
||||
git push origin HEAD:main
|
||||
|
||||
mediafusion_docker_build:
|
||||
|
||||
Reference in New Issue
Block a user