Skip to content

Commit 2142ab0

Browse files
ci(deploy): fix automated release process
1 parent 49851ca commit 2142ab0

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 9.0.0
2+
current_version = 10.0.0
33
commit = True
44
message = Bump version: {current_version} → {new_version} [skip ci]
55

.github/workflows/deploy.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@ jobs:
6767
- name: Build binary wheel and a source tarball
6868
run: |
6969
pip3 install setuptools wheel twine build
70-
python -m build --sdist --outdir dist/
70+
python setup.py sdist
7171
72-
- name: Publish distribution to Test PyPI
73-
continue-on-error: true
74-
uses: pypa/[email protected] # Try to update version tag every release
72+
- name: Publish package distributions to PyPI
73+
uses: pypa/gh-action-pypi-publish@release/v1
7574
with:
7675
password: ${{ secrets.PYPI_TOKEN }}
77-
repository_url: https://upload.pypi.org/legacy/ # This must be changed if testing deploys to test.pypi.org

ibm_watson/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '9.0.0'
1+
__version__ = '10.0.0'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from setuptools import setup
1717
from os import path
1818

19-
__version__ = '9.0.0'
19+
__version__ = '10.0.0'
2020

2121
# read contents of README file
2222
this_directory = path.abspath(path.dirname(__file__))

0 commit comments

Comments
 (0)