Skip to content

Commit 269d22a

Browse files
committed
Release 7.0.0pre1 as 7.0.0, publish via GitHub Actions
1 parent a06a2b4 commit 269d22a

3 files changed

Lines changed: 25 additions & 8 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "CI"
2+
on: ["push", "pull_request"]
3+
jobs:
4+
publish:
5+
name: "πŸ“¦ Publish Python distributions"
6+
if: "startsWith(github.ref, 'refs/tags')"
7+
runs-on: "ubuntu-latest"
8+
environment: "publish"
9+
permissions:
10+
id-token: write
11+
steps:
12+
- uses: "actions/checkout@master"
13+
- name: "🐍 Set up Python ${{ matrix.python-version }}"
14+
uses: "actions/setup-python@v2"
15+
with:
16+
python-version: "3.12"
17+
- name: "🐍 Display Python version"
18+
run: "python --version"
19+
- name: "🐍 Install wheel"
20+
run: "python -m pip install wheel --user"
21+
- name: "🐍 Build a binary wheel and a source tarball"
22+
run: "python setup.py sdist bdist_wheel"
23+
- name: "πŸ“¦ Publish package distributions to PyPI"
24+
uses: "pypa/gh-action-pypi-publish@release/v1"

β€Žsetup.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setuptools.setup(
1313
name='riemann-client',
14-
version='7.0.0pre1',
14+
version='7.0.0',
1515

1616
author="Sam Clements",
1717
author_email="sam.clements@datasift.com",

β€Žtox.iniβ€Ž

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,3 @@ commands=sphinx-build -q -QE docs/ docs/_build/
4141
deps=
4242
sphinx
4343
sphinx_rtd_theme
44-
45-
# Build a source package and python2/3 specific wheel packages
46-
# $ tox -e "py{27,35}-release"
47-
48-
[testenv:py310-release]
49-
commands=python setup.py sdist bdist_wheel upload
50-
deps=wheel

0 commit comments

Comments
Β (0)