Skip to content

Commit

Permalink
build: release steps use the new ghrel strictness
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder committed Oct 19, 2023
1 parent 14cb836 commit 8e12313
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ tag: ## Make a git tag with the version number
git push --all

gh_release: ## Make a GitHub release
python -m scriv github-release --all
python -m scriv github-release --all --fail-if-warn --check-links

comment_text:
@echo "Use this to comment on issues and pull requests:"
Expand All @@ -117,7 +117,7 @@ comment_text:

release: _check_credentials clean check_release dist pypi tag gh_release comment_text ## do all the steps for a release

check_release: _check_manifest _check_tree _check_version _check_scriv ## check that we are ready for a release
check_release: _check_manifest _check_tree _check_version _check_scriv _check_links ## check that we are ready for a release
@echo "Release checks passed"

_check_credentials:
Expand Down Expand Up @@ -146,3 +146,6 @@ _check_scriv:
echo 'There are scriv fragments! Did you forget `scriv collect`?'; \
exit 1; \
fi

_check_links:
python -m scriv github-release --dry-run --fail-if-warn --check-links

0 comments on commit 8e12313

Please sign in to comment.