Skip to content

Commit c065c99

Browse files
fix: minor fixes
1 parent 05fdf77 commit c065c99

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

actions/release-creation/release-creation.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ check_required_parameters() {
2929
local missing_parameter=false
3030

3131
if is_missing "${GITHUB_REPOSITORY}"; then
32-
printf "'GITHUB_REPOSITORY' is required."
32+
printf "'GITHUB_REPOSITORY' is required.\n"
3333
missing_parameter=true
3434
fi
3535

3636
if is_missing "${GITHUB_TOKEN}"; then
37-
printf "'GITHUB_TOKEN' is required."
37+
printf "'GITHUB_TOKEN' is required.\n"
3838
missing_parameter=true
3939
fi
4040

4141
if is_missing "${VERSION}"; then
42-
printf "'VERSION' is required."
42+
printf "'VERSION' is required.\n"
4343
missing_parameter=true
4444
fi
4545

4646
if is_missing "${TARGET_COMMIT}"; then
47-
printf "'TARGET_COMMIT' is required."
47+
printf "'TARGET_COMMIT' is required.\n"
4848
missing_parameter=true
4949
fi
5050

@@ -95,15 +95,15 @@ create_release() {
9595
}" \
9696
${url})
9797

98-
echo "${response_code}"
98+
echo "Response code: ${response_code}"
9999

100100
if is_release_created "${response_code}"; then
101101
printf "version=%s" "${version}" >> "${GITHUB_OUTPUT}"
102102
printf "New generated release: %s\n" "${version}"
103103
exit 0
104104
fi
105105

106-
printf "Failed to generate release."
106+
printf "Failed to generate release.\n"
107107
exit 1
108108
}
109109

0 commit comments

Comments
 (0)