File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,22 +29,22 @@ check_required_parameters() {
29
29
local missing_parameter=false
30
30
31
31
if is_missing " ${GITHUB_REPOSITORY} " ; then
32
- printf " 'GITHUB_REPOSITORY' is required."
32
+ printf " 'GITHUB_REPOSITORY' is required.\n "
33
33
missing_parameter=true
34
34
fi
35
35
36
36
if is_missing " ${GITHUB_TOKEN} " ; then
37
- printf " 'GITHUB_TOKEN' is required."
37
+ printf " 'GITHUB_TOKEN' is required.\n "
38
38
missing_parameter=true
39
39
fi
40
40
41
41
if is_missing " ${VERSION} " ; then
42
- printf " 'VERSION' is required."
42
+ printf " 'VERSION' is required.\n "
43
43
missing_parameter=true
44
44
fi
45
45
46
46
if is_missing " ${TARGET_COMMIT} " ; then
47
- printf " 'TARGET_COMMIT' is required."
47
+ printf " 'TARGET_COMMIT' is required.\n "
48
48
missing_parameter=true
49
49
fi
50
50
@@ -95,15 +95,15 @@ create_release() {
95
95
}" \
96
96
${url} )
97
97
98
- echo " ${response_code} "
98
+ echo " Response code: ${response_code} "
99
99
100
100
if is_release_created " ${response_code} " ; then
101
101
printf " version=%s" " ${version} " >> " ${GITHUB_OUTPUT} "
102
102
printf " New generated release: %s\n" " ${version} "
103
103
exit 0
104
104
fi
105
105
106
- printf " Failed to generate release."
106
+ printf " Failed to generate release.\n "
107
107
exit 1
108
108
}
109
109
You can’t perform that action at this time.
0 commit comments