Skip to content

Commit 56f2037

Browse files
committed
Use gh rather than hub. Also fix release branch.
1 parent fafe20b commit 56f2037

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.dev.md

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

dev-bin/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ message="$version
142142
143143
$notes"
144144

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

147147
git push --tags

0 commit comments

Comments
 (0)