File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 23
23
# Argument overrides the environment variable
24
24
component_slug=" ${1:- $COMPONENT_SLUG } "
25
25
if [ -z " $component_slug " ]; then
26
- echo " Requires first argument: Heroku component slug" >&2
26
+ echo " Requires first argument or env var COMPONENT_SLUG : Heroku component slug" >&2
27
27
exit 1
28
28
fi
29
29
30
30
release_sha=" ${2:- $RELEASE_SHA } "
31
31
if [ -z " $release_sha " ]; then
32
- echo " Requires second argument: SHA of the commit being released" >&2
32
+ echo " Requires second argument or env var RELEASE_SHA : SHA of the commit being released" >&2
33
33
exit 1
34
34
fi
35
35
36
36
actor_email=" ${3:- $ACTOR_EMAIL } "
37
37
if [ -z " $actor_email " ]; then
38
- echo " Requires third argument: email of actor performing the release" >&2
38
+ echo " Requires third argument or env var ACTOR_EMAIL : email of actor performing the release" >&2
39
39
exit 1
40
40
fi
41
41
42
42
stage=" ${4:- $STAGE } "
43
43
if [ -z " $stage " ]; then
44
- echo " Requires fifth argument: stage of the release" >&2
44
+ echo " Requires fifth argument or env var STAGE : stage of the release" >&2
45
45
exit 1
46
46
fi
47
47
Original file line number Diff line number Diff line change 20
20
# Argument overrides the environment variable
21
21
component_slug=" ${1:- $COMPONENT_SLUG } "
22
22
if [ -z " $component_slug " ]; then
23
- echo " Requires first argument: Heroku component slug" >&2
23
+ echo " Requires first argument or env var COMPONENT_SLUG : Heroku component slug" >&2
24
24
exit 1
25
25
fi
26
26
27
27
release_sha=" ${2:- $RELEASE_SHA } "
28
28
if [ -z " $release_sha " ]; then
29
- echo " Requires second argument: SHA of the commit being released" >&2
29
+ echo " Requires second argument or env var RELEASE_SHA : SHA of the commit being released" >&2
30
30
exit 1
31
31
fi
32
32
You can’t perform that action at this time.
0 commit comments