File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ [tool .bumpversion ]
2+ current_version = " 2.6.0"
3+ commit = true
4+ tag = true
5+ tag_name = " {new_version}"
6+
7+ [[tool .bumpversion .files ]]
8+ filename = " CHANGES.rst"
9+ search = " \\ (unreleased\\ )$"
10+ replace = " ({now:%Y-%m-%d})"
11+ regex = true
12+
13+ [[tool .bumpversion .files ]]
14+ filename = " scrapinghub/VERSION"
Original file line number Diff line number Diff line change 11name : Publish
2- on :
3- release :
4- types : [published]
5-
2+ on :
3+ push :
4+ tags :
5+ - ' [0-9]+.[0-9]+.[0-9]+'
6+ concurrency :
7+ group : ${{github.workflow}}-${{ github.ref }}
8+ cancel-in-progress : true
69jobs :
7- publish :
10+ build :
811 runs-on : ubuntu-latest
9-
1012 steps :
11- - uses : actions/checkout@v2
12-
13- - name : Set up Python 3
14- uses : actions/setup-python@v2
15- with :
16- python-version : 3
17-
18- - name : Build distribution
19- run : |
20- pip install -U setuptools wheel
21- python setup.py sdist bdist_wheel
22-
23- - name : Publish to PyPI
24- uses : pypa/gh-action-pypi-publish@release/v1
25- with :
26- password : ${{ secrets.PYPI_TOKEN }}
13+ - uses : actions/checkout@v6
14+ - uses : actions/setup-python@v6
15+ with :
16+ python-version : " 3.13"
17+ - run : |
18+ python -m pip install --upgrade pip
19+ pip install --upgrade build twine
20+ python -m build
21+ twine check dist/*
22+ - uses : actions/upload-artifact@v6
23+ with :
24+ name : packages
25+ path : dist/
26+ if-no-files-found : error
27+ compression-level : 0
28+ deploy :
29+ runs-on : ubuntu-latest
30+ permissions :
31+ contents : read
32+ id-token : write
33+ environment :
34+ name : pypi
35+ url : https://pypi.org/p/scrapinghub
36+ steps :
37+ - uses : actions/download-artifact@v7
38+ with :
39+ name : packages
40+ path : dist/
41+ - uses : pypa/gh-action-pypi-publish@release/v1
42+ with :
43+ print-hash : true
44+ verbose : true
Original file line number Diff line number Diff line change 11Release notes
22=============
33
4- 2.6.0 (unreleased )
4+ 2.6.0 (2026-03-20 )
55------------------
66
77- remove official support for Python 3.8
Original file line number Diff line number Diff line change 33VERSION? =minor
44
55release :
6- bumpversion $(VERSION )
6+ bumpversion --config-file .bumpversion.toml $(VERSION )
77
88release-minor : release
99
You can’t perform that action at this time.
0 commit comments