Skip to content

Commit

Permalink
Use gh instead of hub. Release from right branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 23, 2021
1 parent e0852b0 commit 4f349ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Steps for doing a release:
``docs/index.rst``, if necessary.
4. Review ``HISTORY.rst`` for completeness and correctness.
5. Add release date to ``HISTORY.rst``.
6. Install or update `hub <https://github.com/github/hub`_ as it used by the
6. Install or update `gh <https://github.com/cli/cli>`_ as it used by the
release script.
7. Run ``dev-bin/release.sh`` and follow the prompts.
8. Verify the release on `GitHub <https://github.com/maxmind/minfraud-api-python/releases>`_
Expand Down
6 changes: 1 addition & 5 deletions dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ git commit -m "Update for $tag" -a

git push

message="$version
$notes"

hub release create -m "$message" "$tag"
gh release create --target "$(git branch --show-current)" -t "$version" -n "$notes" "$tag"

git push --tags

Expand Down

0 comments on commit 4f349ef

Please sign in to comment.