Skip to content

Commit

Permalink
New stable release at 0.7.41
Browse files Browse the repository at this point in the history
  • Loading branch information
wellner committed Dec 27, 2023
1 parent 9d5f12a commit b689c1b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 20 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
RELEASE: 1
run: |
python -m pip install --upgrade build twine setuptools wheel
python setup.py sdist bdist_wheel
Expand Down
43 changes: 25 additions & 18 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,31 @@ on:
- cron: "59 22 * * *"

jobs:
deploy:

build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.TMNT_API_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TMNT_API_KEY }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Checkout source
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"

- name: Build source and wheel distributions
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m pip install --upgrade build twine setuptools wheel
python setup.py sdist bdist_wheel
twine upload dist/*
twine check --strict dist/*
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The Topic Modeling Neural Toolkit (TMNT) is a software library that enables training
topic models as neural network-based variational auto-encoders.

Current stable version is: 0.7.04
Current stable version is: 0.7.41

Documentation can be found here: https://tmnt.readthedocs.io/en/stable/

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools.command.install import install
from pathlib import Path

version = '0.7.04'
version = '0.7.41'

try:
if not os.getenv('RELEASE'):
Expand Down

0 comments on commit b689c1b

Please sign in to comment.