From 17ea422800fc72a6e507755f1cfbf6ec75ba0359 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Tue, 23 Apr 2024 18:32:28 +0000 Subject: [PATCH] Admin: Release may not need to update version nr --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79c7636f..d5c83536 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,8 +41,8 @@ jobs: git config --local user.email "6058517+bblommers@users.noreply.github.com" git config --local user.name "FreezeGun Admin" git add freezegun/__init__.py - git commit -m "Increase version number" - git push + git commit -m "Increase version number" || echo "Nothing to commit" + git push || echo "Nothing to push" - name: Build Python run: python -m build - name: Publish to PyPI