File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1212 if : github.repository == 'stfc/janus-core' && startsWith(github.ref, 'refs/tags/v')
1313 environment :
1414 name : release
15+ permissions :
16+ # For PyPI's trusted publishing.
17+ id-token : write
1518
1619 steps :
1720 - name : Checkout repository
Original file line number Diff line number Diff line change 11[project ]
22name = " janus-core"
3- version = " 0.7.0 "
3+ version = " 0.6.6 "
44description = " Tools for machine learnt interatomic potentials"
55authors = [
66 { name = " Elliott Kasoar" },
Original file line number Diff line number Diff line change 22
33version=$1
44
5- sed -i " s;^version =.*;version = \" $version \" ;g" pyproject.toml
5+ sed -i.bak " s;^version =.*;version = \" $version \" ;g" pyproject.toml && rm pyproject.toml.bak
66
77git add pyproject.toml
88git commit -m " bump version for release $version "
You can’t perform that action at this time.
0 commit comments