File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 - uses : actions/checkout@v3
1717 with :
1818 fetch-depth : 0
19+ ref : ${{ github.ref }} # <<— checkout the tag that triggered the release
1920
2021 # Set up Python
2122 - uses : actions/setup-python@v4
Original file line number Diff line number Diff line change 9292 "_pi_tau" ,
9393)
9494
95- __version__ = "3.0.1 "
95+ __version__ = "3.0.2 "
9696__author__ = "Scott Prahl"
9797__email__ = "scott.prahl@oit.edu"
9898__copyright__ = "2017-25, Scott Prahl"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " miepython"
7- version = " 3.0.0 "
7+ version = " 3.0.2 "
88description = " Mie scattering of a plane wave by a sphere"
99requires-python = " >=3.8"
1010readme = { file = " README.rst" , content-type = " text/x-rst" }
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ Releasing a new version
66# update the version in miepython/__init__.py
77 git commit miepython/__init__.py -m 'update version'
88 git push
9+
10+ # fix version in both __init__.py AND pyproject.toml
911
1012# update CHANGELOG.rst
1113 git shortlog 3.0.0..HEAD
You can’t perform that action at this time.
0 commit comments