Skip to content

UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.

chore: Bump to version 0.1.4

yakhyo9819520d761c
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"