Skip to content

Commit 4f349ef

Browse files
committed
Use gh instead of hub. Release from right branch.
1 parent e0852b0 commit 4f349ef

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

README.dev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Steps for doing a release:
77
``docs/index.rst``, if necessary.
88
4. Review ``HISTORY.rst`` for completeness and correctness.
99
5. Add release date to ``HISTORY.rst``.
10-
6. Install or update `hub <https://github.com/github/hub`_ as it used by the
10+
6. Install or update `gh <https://github.com/cli/cli>`_ as it used by the
1111
release script.
1212
7. Run ``dev-bin/release.sh`` and follow the prompts.
1313
8. Verify the release on `GitHub <https://github.com/maxmind/minfraud-api-python/releases>`_

dev-bin/release.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@ git commit -m "Update for $tag" -a
5959

6060
git push
6161

62-
message="$version
63-
64-
$notes"
65-
66-
hub release create -m "$message" "$tag"
62+
gh release create --target "$(git branch --show-current)" -t "$version" -n "$notes" "$tag"
6763

6864
git push --tags
6965

0 commit comments

Comments
 (0)