Skip to content

Commit

Permalink
build: tweak the release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Feb 20, 2024
1 parent 0f19b82 commit f7d40a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -222,11 +222,11 @@ check_kits: ## Check that dist/* are well-formed.
python -m twine check dist/*
@echo $$(ls -1 dist | wc -l) distribution kits

tag: ## Make a git tag with the version number.
tag: #: Make a git tag with the version number (see howto.txt).
git tag -s -m "Version $$(python setup.py --version)" $$(python setup.py --version)
git push --follow-tags

bump_version: ## Edit sources to bump the version after a release.
bump_version: #: Edit sources to bump the version after a release (see howto.txt).
git switch -c nedbat/bump-version
python igor.py bump_version
git commit -a -m "build: bump version"
Expand Down
4 changes: 2 additions & 2 deletions howto.txt
Expand Up @@ -39,6 +39,7 @@
- merge to master
- git push
- Start the kits:
- opvars github
- Trigger the kit GitHub Action
$ make build_kits
- Build and publish docs:
Expand Down Expand Up @@ -71,12 +72,11 @@
- Update readthedocs
- @ https://readthedocs.org/projects/coverage/versions/
- find the latest tag in the inactive list, edit it, make it active.
- readthedocs won't find the tag until a commit is made on master.
- keep just the latest version of each x.y release, make the rest active but hidden.
- pre-releases should be hidden
- IF NOT PRE-RELEASE:
- @ https://readthedocs.org/dashboard/coverage/advanced/
- change the default and latest versions to the new version
- change the "default version" to the new version
- @ https://readthedocs.org/projects/coverage/builds/
- manually build "latest"
- wait for the new tag build to finish successfully.
Expand Down

0 comments on commit f7d40a0

Please sign in to comment.