Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit b539712

Browse files
authored
Merge pull request #118 from maxmind/greg/gh
Use gh instead of hub. Release from right branch.
2 parents 1a88de3 + b905466 commit b539712

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

dev-bin/release.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fi
3434
perl -pi -e "s/(?<=AC_INIT\(\[GeoIP\], \[)(\d+\.\d+\.\d+)(?=])/$version/gsm" configure.ac
3535

3636
if [ -n "$(git status --porcelain)" ]; then
37-
git add configure.ac
37+
git add configure.ac
3838
git commit -m "Bumped version to $version"
3939
fi
4040

@@ -54,8 +54,4 @@ fi
5454

5555
git push
5656

57-
message="$version
58-
59-
$notes"
60-
61-
hub release create -a "$dist" -m "$message" "v$version"
57+
gh release create --target "$(git branch --show-current)" -t "$version" -n "$notes" "v$version" "$dist"

0 commit comments

Comments
 (0)