Skip to content

Commit df34ac9

Browse files
authored
Merge pull request #90 from fabianazioti/b-1.0.2-alpha
🚀 fixing version bump
2 parents ea5f9fc + db450b9 commit df34ac9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,13 @@ jobs:
115115
git config user.name "github-actions"
116116
git config user.email "[email protected]"
117117
git add pyproject.toml
118-
git commit -m "Release ${VERSION}: update version"
119-
git push origin HEAD:${BRANCH}
118+
119+
if git diff --cached --quiet; then
120+
echo "No version changes detected. Skipping commit."
121+
else
122+
git commit -m "Release ${VERSION}: update version"
123+
git push origin HEAD:${BRANCH}
124+
fi
120125
121126
- name: Upload updated pyproject
122127
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)