Skip to content

Commit 98f837f

Browse files
committed
Use gh rather than hub. Also fix release branch.
1 parent b54aca2 commit 98f837f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.dev.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Steps for releasing:
66
3. Bump copyright year in `README.md`, if necessary.
77
4. Review `CHANGELOG.md` for completeness and correctness. Update its release
88
date.
9-
5. Install or update [hub](https://github.com/github/hub) as it used by the
9+
5. Install or update [gh](https://github.com/cli/cli) as it used by the
1010
release script.
1111
6. Run `./dev-bin/release.sh`. This will build the phar, generate the docs,
1212
tag the release, push it to origin, and update the GH releases with the

dev-bin/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,6 @@ message="$version
143143
144144
$notes"
145145

146-
hub release create -a "$phar" -m "$message" "$tag"
146+
gh release create --target "$(git branch --show-current)" -n "$message" "$tag" "$phar"
147147

148148
git push --tags

0 commit comments

Comments
 (0)