File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ make generate
24
24
25
25
message=" build(flux): prepare Flux release for $version "
26
26
27
- git commit -am " $message "
27
+ git commit --allow-empty - am " $message "
28
28
git push
29
29
30
- if ! command -v hub & > /dev/null
30
+ if ! command -v gh & > /dev/null
31
31
then
32
- echo " hub is not installed. Cannot open github PRs automatically."
32
+ echo " gh is not installed. Cannot open github PRs automatically."
33
33
echo " Pull requests will have to be manually created."
34
- HAS_HUB =0
34
+ HAS_GH =0
35
35
else
36
- HAS_HUB =1
36
+ HAS_GH =1
37
37
fi
38
38
39
- if [ $HAS_HUB -eq 1 ]
39
+ if [ $HAS_GH -eq 1 ]
40
40
then
41
- hub pull-request -m " $message " -r influxdata/flux-team
41
+ gh pr create --repo influxdata/flux --fill-first -r influxdata/flux-team
42
42
fi
You can’t perform that action at this time.
0 commit comments