Skip to content

Commit 0aa455e

Browse files
committed
Debug
1 parent 86b53b5 commit 0aa455e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/actions/generate-jira-release/action.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ runs:
5757
JIRA_USERNAME: ${{ inputs.jira-username }}
5858
JIRA_API_TOKEN: ${{ inputs.jira-api-token }}
5959
run: |
60+
set -x
6061
echo "STEP: Create or get Jira release candidate"
6162
source scripts/lib-jira.sh
6263
@@ -83,7 +84,7 @@ runs:
8384
echo "RELEASE_ID=${RELEASE_ID}" >> $GITHUB_ENV
8485
8586
- name: Begin trail
86-
if: ${{ steps.release-candidate.outputs.release-was-created }}
87+
if: ${{ steps.release-candidate.outputs.release-was-created == 'true' }}
8788
shell: bash
8889
env:
8990
KOSLI_ORG: ${{ inputs.kosli-org }}
@@ -95,17 +96,19 @@ runs:
9596
9697
9798
- name: Add trail to jira release
98-
if: ${{ steps.release-candidate.outputs.release-was-created }}
99+
if: ${{ steps.release-candidate.outputs.release-was-created == 'true' }}
99100
shell: bash
100101
run: |
102+
echo "STEP: Add trail to jira release"
101103
source scripts/lib-jira.sh
102104
kosli_trail_link="https://app.kosli.com/${{ inputs.kosli-org }}/flows/${{ inputs.kosli-flow }}/trails/${{ env.RELEASE_ID }}"
103105
add_trail_link_to_release ${{ env.RELEASE_ID }} ${kosli_trail_link}
104106
105107
- name: Report current prod SW
106-
if: ${{ steps.release-candidate.outputs.release-was-created }}
108+
if: ${{ steps.release-candidate.outputs.release-was-created == 'true' }}
107109
shell: bash
108110
run: |
111+
echo "STEP: Report current prod SW"
109112
source scripts/lib-kosli.sh
110113
get_current_running_env_json ${{ inputs.kosli-env-prod }} > /tmp/prod-env.json
111114
create_running_sw_short_list_json /tmp/prod-env.json > /tmp/prod-sw.json
@@ -121,6 +124,7 @@ runs:
121124
- name: Report current staging SW
122125
shell: bash
123126
run: |
127+
echo "STEP: Report current staging SW"
124128
source scripts/lib-kosli.sh
125129
get_current_running_env_json ${{ inputs.kosli-env-staging }} > /tmp/staging-env.json
126130
create_running_sw_short_list_json /tmp/staging-env.json > /tmp/staging-sw.json
@@ -136,6 +140,7 @@ runs:
136140
- name: Add Jira issues to release
137141
shell: bash
138142
run: |
143+
echo "STEP: Add Jira issues to release"
139144
source scripts/lib-jira.sh
140145
source scripts/lib-kosli.sh
141146

0 commit comments

Comments
 (0)