diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index ce08b81..10b663e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -71,14 +71,8 @@ jobs: 'master', 'main' ] env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PAT }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - name: Run Semantic Release - run: npx semantic-release - env: - GITHUB_TOKEN: ${{ secrets.GH_PAT }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Semantic release completed run: echo Semantic release flow completed diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index b87317c..66251cb 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -30,6 +30,7 @@ jobs: # twine upload dist/* deploy-prod: name: Deploy to PyPi.org + if: ${{ github.repository_owner == 'ambianic' }} needs: [deploy-validate] runs-on: ubuntu-latest steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bc72cc..3ed1eb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # Semantic Versioning Changelog +## [1.0.9](https://github.com/ambianic/fall-detection/compare/v1.0.8...v1.0.9) (2021-10-04) + + +### Bug Fixes + +* prod deployment for main upstream repo only ([3fc569b](https://github.com/ambianic/fall-detection/commit/3fc569b733569188da1f4311c26bf8cb9909c9b7)) + +## [1.0.8](https://github.com/ambianic/fall-detection/compare/v1.0.7...v1.0.8) (2021-10-04) + + +### Bug Fixes + +* formatting for pypi ([24ced87](https://github.com/ambianic/fall-detection/commit/24ced8763170b4e7e800c12c5169ad0842f431a8)) + +## [1.0.7](https://github.com/ambianic/fall-detection/compare/v1.0.6...v1.0.7) (2021-10-04) + + +### Bug Fixes + +* author field ([5a7cd89](https://github.com/ambianic/fall-detection/commit/5a7cd895a4386c70617edeb2336f851277729fea)) + +## [1.0.6](https://github.com/ambianic/fall-detection/compare/v1.0.5...v1.0.6) (2021-10-04) + + +### Bug Fixes + +* sem rel script ([7dc999d](https://github.com/ambianic/fall-detection/commit/7dc999dce4e967f7417bc82f392e080984e23ab0)) + +## [1.0.5](https://github.com/ambianic/fall-detection/compare/v1.0.4...v1.0.5) (2021-10-04) + + +### Bug Fixes + +* pypi upload command ([246e8d1](https://github.com/ambianic/fall-detection/commit/246e8d1a35a07c2cb3ad16d8e32952af1e13cd5a)) + ## [1.0.4](https://github.com/ambianic/fall-detection/compare/v1.0.3...v1.0.4) (2021-10-04) diff --git a/README.md b/README.md index 9f27e5a..4fa24e6 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,13 @@ _This repo is the new home of the fall detection model used in Ambianic Edge. We # What's included in this repo -- [x] Standalone Python ML library for people fall detection based on Tensorflow and [PoseNet 2.0](https://github.com/tensorflow/tfjs-models/tree/master/posenet). -- [X] Python source code -- [x] [Jupyter Notebook](https://mybinder.org/v2/gh/ambianic/fall-detection/main?filepath=Demo.ipynb) to interactively test and experiement with the model -- [x] CI & test suite -- [x] Training and testing data sets -- [x] Third party ML models used as building blocks -- [ ] Wheel package published on PyPi +- Standalone Python ML library for people fall detection based on Tensorflow and [PoseNet 2.0](https://github.com/tensorflow/tfjs-models/tree/master/posenet). +- Python source code +- [Jupyter Notebook](https://mybinder.org/v2/gh/ambianic/fall-detection/main?filepath=Demo.ipynb) to interactively test and experiement with the model +- CI & test suite +- Training and testing data sets +- Third party ML models used as building blocks +- Wheel package [published on PyPi](https://pypi.org/project/falldetect/) # Project motivation diff --git a/src/setup.cfg b/src/setup.cfg index 53d476d..4225a0e 100644 --- a/src/setup.cfg +++ b/src/setup.cfg @@ -1,8 +1,8 @@ [metadata] name = falldetect -version = 1.0.4 -author = 'Bhavika Kanani, Ivelin Ivanov' -author_email = 'bhavika@softmaxai.com, ivelin.ivanov@ambianic.ai' +version = 1.0.9 +author = Bhavika Kanani, Ivelin Ivanov +author_email = bhavika@softmaxai.com, ivelin.ivanov@ambianic.ai description = Standalone Python ML library for people fall detection based on Tensorflow and PoseNet 2.0. long_description = file: README.md long_description_content_type = text/markdown @@ -19,3 +19,4 @@ classifiers = [options] packages = find: python_requires = >=3.7 +