File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 3232 run : |
3333 source scripts/lib-jira.sh
3434 source scripts/lib-kosli.sh
35-
36- # Check if a release already exists, if so we fail
37- # CURRENT_REL_JSON=$(get_CURRENT_REL_candidate ${{ env.JIRA_PROJECT_ID }})
38- # CURRENT_REL=$(echo "${CURRENT_REL_JSON}" | jq .values)
39- # if [ "${CURRENT_REL}" != "[]" ]; then
40- # echo "Release candidate already exist: ${CURRENT_REL}"
41- # exit 1
42- # fi
43-
44- # Create the release and get the release ID
45- # TIMESTAMP=$(date -u "+%Y-%m-%d-%H-%M-%S")
46- # CREATE_RESULT_JSON=$(create_release ${{ env.JIRA_PROJECT_ID }} ${TIMESTAMP})
47- # RELEASE_ID=$(echo "${CREATE_RESULT_JSON}" | jq .id)
4835 RELEASE_ID=10099
4936
50- # Add jira tickets to release
51- # JIRA_KEYS=$(get_issue_keys_between_staging_and_prod)
37+ JIRA_KEYS=$(get_issue_keys_between_staging_and_prod)
5238 echo "Found issues: ${JIRA_KEYS}"
5339 for JIRA_KEY in ${JIRA_KEYS}; do
5440 add_issue_to_release ${JIRA_KEY} ${RELEASE_ID}
You can’t perform that action at this time.
0 commit comments