File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 6969
7070 - name : Store version
7171 id : version
72- run : ./ toc/cli.py --version
72+ run : python -m toc.cli --version
7373
7474 - name : Store partial changelog for release notes
7575 id : changelog
Original file line number Diff line number Diff line change 1818// │ │ ├── Function-level time
1919// │ │ ├── Line-level time
2020// │ │ └── Memory allocation
21- // │ └── Launching without installing
21+ // │ ├── Launching without installing
22+ // │ └── Release
2223// │
2324// └───────────────────────────────────────────────────────────────
2425-->
@@ -208,13 +209,13 @@ python -m toc.cli -f "toc/toc.py"
208209
209210Steps for a new release:
210211
211- 1 . Run ` toc -lf .tocfiles `
212- 2 . Update version in "pyproject.toml"
213- 3 . Save changes with ` git commit `
214- 4 . Add a temporary tag with ` git tag v2.6.0 `
215- 5 . Update the changelog with ` git-cliff -c pyproject.toml > CHANGELOG.md `
212+ 1 . Update version in "pyproject.toml"
213+ 2 . Save changes with ` git commit `
214+ 3 . Add a temporary tag with ` git tag v2.6.0 ` and rewrite the tag name
215+ 4 . Update the changelog with ` git-cliff -c pyproject.toml > CHANGELOG.md `
216+ 5 . Run ` toc -lf .tocfiles `
2162176 . Remove tag with ` git tag --delete v2.6.0 `
2172187 . Add changelog changes with ` git add CHANGELOG.md && git commit -m "minor: updated CHANGELOG.md" `
218- 8 . Add a final tag with ` git tag v2.6.0 `
219+ 8 . Move tag to the new commit with ` git tag -fa v2.6.0 `
2192209 . Upload the new commits and tags with ` git push --follow-tags `
22022110 . Update [ AUR] ( https://aur.archlinux.org/packages/toc ) version once the new [ PyPI] ( https://pypi.org/project/tableofcontents/ ) version is online
You can’t perform that action at this time.
0 commit comments