From 9819520d761c5f0e7fd252e476f7d848e802d465 Mon Sep 17 00:00:00 2001 From: yakhyo Date: Thu, 21 Nov 2024 06:17:00 +0000 Subject: [PATCH] chore: Bump to version 0.1.4 --- .github/workflows/build.yml | 8 ++++---- setup.py | 2 +- uniface/version.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f86164..f9e97ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,12 +3,12 @@ name: Build, Test, and Publish on: push: branches: - - main + - main # Trigger on pushes to main tags: - "v*.*.*" # Trigger publish on version tags pull_request: branches: - - main + - main # Trigger checks on pull requests to main jobs: build: @@ -33,12 +33,12 @@ jobs: python -m pip install .[dev] || pip install pytest # Use extras_require if available - name: Run Tests - run: | - pytest + run: pytest publish: runs-on: ubuntu-latest needs: build # Publish only if tests pass + if: github.event_name == 'push' && github.ref == 'refs/heads/main' # Trigger only on pushes to main steps: - name: Checkout code diff --git a/setup.py b/setup.py index 29939c1..21a3eca 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ if os.path.exists("README.md"): setup( name="uniface", - version="0.1.3", + version="0.1.4", packages=find_packages(), install_requires=[ "numpy", diff --git a/uniface/version.py b/uniface/version.py index d84d75e..da2ef33 100644 --- a/uniface/version.py +++ b/uniface/version.py @@ -11,5 +11,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "0.1.3" +__version__ = "0.1.4" __author__ = "Yakhyokhuja Valikhujaev"