diff --git a/.github/workflows/weekly_release.yml b/.github/workflows/weekly_release.yml deleted file mode 100644 index 2ca7e72..0000000 --- a/.github/workflows/weekly_release.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Weekly Release - -on: - schedule: - - cron: '0 0 * * 1' # Runs every Sunday at 00:00 UTC - -jobs: - - deploy: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Fetch all commits to get accurate version number - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine bumpversion - - - name: Update version number - run: | - # Update the version number in setup.py and __init__.py - bumpversion --current-version $(python setup.py --version) --new-version $(bumpversion --list minor --new-minor-version --no-commit | grep new_minor_version | sed 's/new_minor_version=//') minor setup.py nanodl/__init__.py - - # Configure Git user - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - - # Commit the version changes - git add setup.py nanodl/__init__.py - git commit -m "Bump version" - - - name: Build and publish - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - run: | - python setup.py sdist bdist_wheel - twine upload dist/* - - - name: Git tag - run: | - git tag v$(python setup.py --version) - git push origin v$(python setup.py --version) \ No newline at end of file diff --git a/README.md b/README.md index de67802..d4d806f 100644 --- a/README.md +++ b/README.md @@ -347,4 +347,4 @@ To cite this repository: url = {http://github.com/hmunachi/nanodl}, year = {2024}, } -``` +``` \ No newline at end of file diff --git a/nanodl/__init__.py b/nanodl/__init__.py index d6ac463..2042f5b 100644 --- a/nanodl/__init__.py +++ b/nanodl/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.2.1.dev1" +__version__ = "1.2.3.dev1" from nanodl.__src.sklearn_gpu.bayes import NaiveBayesClassifier from nanodl.__src.sklearn_gpu.dimensionality_reduction import PCA diff --git a/setup.py b/setup.py index 48c5b31..ccfedb8 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='nanodl', - version='1.2.1.dev1', + version='1.2.3.dev1', author='Henry Ndubuaku', author_email='ndubuakuhenry@gmail.com', description='A Jax-based library for designing and training transformer models from scratch.',