We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e8f093 commit ba61b9bCopy full SHA for ba61b9b
prep-release.sh
@@ -24,19 +24,19 @@ make generate
24
25
message="build(flux): prepare Flux release for $version"
26
27
-git commit -am "$message"
+git commit --allow-empty -am "$message"
28
git push
29
30
-if ! command -v hub &> /dev/null
+if ! command -v gh &> /dev/null
31
then
32
- echo "hub is not installed. Cannot open github PRs automatically."
+ echo "gh is not installed. Cannot open github PRs automatically."
33
echo "Pull requests will have to be manually created."
34
- HAS_HUB=0
+ HAS_GH=0
35
else
36
- HAS_HUB=1
+ HAS_GH=1
37
fi
38
39
-if [ $HAS_HUB -eq 1 ]
+if [ $HAS_GH -eq 1 ]
40
41
- hub pull-request -m "$message" -r influxdata/flux-team
+ gh pr create --repo influxdata/flux --fill-first -r influxdata/flux-team
42
0 commit comments