Skip to content

Commit ba61b9b

Browse files
authoredFeb 19, 2025··
build(flux): prepare Flux release for v0.196.0 (#5524)
1 parent 8e8f093 commit ba61b9b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎prep-release.sh

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ make generate
2424

2525
message="build(flux): prepare Flux release for $version"
2626

27-
git commit -am "$message"
27+
git commit --allow-empty -am "$message"
2828
git push
2929

30-
if ! command -v hub &> /dev/null
30+
if ! command -v gh &> /dev/null
3131
then
32-
echo "hub is not installed. Cannot open github PRs automatically."
32+
echo "gh is not installed. Cannot open github PRs automatically."
3333
echo "Pull requests will have to be manually created."
34-
HAS_HUB=0
34+
HAS_GH=0
3535
else
36-
HAS_HUB=1
36+
HAS_GH=1
3737
fi
3838

39-
if [ $HAS_HUB -eq 1 ]
39+
if [ $HAS_GH -eq 1 ]
4040
then
41-
hub pull-request -m "$message" -r influxdata/flux-team
41+
gh pr create --repo influxdata/flux --fill-first -r influxdata/flux-team
4242
fi

0 commit comments

Comments
 (0)
Please sign in to comment.