Skip to content

Commit a65dc16

Browse files
committed
Use gh instead of hub. Release from right branch.
1 parent 5f58e0b commit a65dc16

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

README.dev.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- The release process generates commits.
1111
- Ensure you have the necessary dependencies available:
1212
- e.g., `apt-get install maven openjdk-8-jdk git-core gpg`
13-
- Ensure [hub](https://github.com/github.com/hub) is set up and in your
13+
- Ensure [gh](https://github.com/cli/cli) is set up and in your
1414
`PATH`.
1515
- An easy way to do this is get a release tarball and run `./install`.
1616

dev-bin/release.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,8 @@ popd
119119
git push
120120
git push --tags
121121

122-
message="$version
123-
124-
$notes"
125-
126-
hub release create -a "target/minfraud-$version-with-dependencies.zip" \
127-
-a "target/minfraud-$version-with-dependencies.zip.asc" \
128-
-m "$message" "$tag"
122+
gh release create --target "$(git branch --show-current)" -t "$version" -n "$notes" "$tag" \
123+
"target/minfraud-$version-with-dependencies.zip" \
124+
"target/minfraud-$version-with-dependencies.zip.asc"
129125

130126
echo "Remember to do the release on https://oss.sonatype.org/!"

0 commit comments

Comments
 (0)