From 5a5c8655e1e80302c42666d0e1a3dc991cf8d736 Mon Sep 17 00:00:00 2001 From: Samir Moustafa <31715540+SamirMoustafa@users.noreply.github.com> Date: Wed, 27 Mar 2024 03:49:25 +0300 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23436ed..99f6956 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,14 @@ jobs: python-version: "3.10" - name: Install dependencies run: python -m pip install --upgrade pip setuptools wheel twine bump2version + - name: Verify .bumpversion.cfg exists + run: | + if [ -f ".bumpversion.cfg" ]; then + echo ".bumpversion.cfg exists." + else + echo ".bumpversion.cfg does not exist, exiting..." + exit 1 + fi - name: Bump version and tag run: | bump2version patch --config-file .bumpversion.cfg --verbose