Skip to content

Commit c67b5a2

Browse files
committed
added some debug
1 parent 90bf32f commit c67b5a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/lib-kosli.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,13 @@ function get_artifact_flow_commit_mapping_json
143143
function get_issue_keys_between_staging_and_prod
144144
{
145145
commits=$(get_commits_between_staging_and_prod ${KOSLI_ENV_STAGING} ${KOSLI_ENV_PROD})
146+
echo "Commits between staging and prod: ${commits}" >&2
146147
issueKeys=""
147148
keys=$(get_all_jira_issue_keys_for_commits ${KOSLI_FLOW_FRONTEND} "${commits}")
148149
issueKeys+=" ${keys}"
149150
keys=$(get_all_jira_issue_keys_for_commits ${KOSLI_FLOW_BACKEND} "${commits}")
150151
issueKeys+=" ${keys}"
151-
echo ${issueKeys} | tr ' ' '\n' | sort -u
152+
echo ${issueKeys} | tr ' ' '\n' | sort -u | tr '\n' ' '
152153
}
153154

154155
#get_issue_keys_between_staging_and_prod

0 commit comments

Comments
 (0)