Skip to content

Commit c8dc496

Browse files
committed
separate IMAGE_NAME and IMAGE_VERSION env vars from sentry prep
1 parent 16a1dde commit c8dc496

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish-command.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,17 @@ jobs:
130130
ci_credentials ${{ github.event.inputs.connector }}
131131
env:
132132
GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }}
133-
- name: Prepare Sentry Release
133+
- name: Set Name and Version Environment Vars
134134
if: startsWith(github.event.inputs.connector, 'connectors')
135135
run: |
136-
curl -sL https://sentry.io/get-cli/ | bash
137136
source tools/lib/lib.sh
138137
DOCKERFILE=airbyte-integrations/${{ github.event.inputs.connector }}/Dockerfile
139138
echo "IMAGE_NAME=$(echo ${{ github.event.inputs.connector }} | cut -d"/" -f2)" >> $GITHUB_ENV
140139
echo "IMAGE_VERSION=$(_get_docker_image_version ${DOCKERFILE})" >> $GITHUB_ENV
140+
- name: Prepare Sentry
141+
if: startsWith(github.event.inputs.connector, 'connectors')
142+
run: |
143+
curl -sL https://sentry.io/get-cli/ | bash
141144
- name: Create Sentry Release
142145
if: startsWith(github.event.inputs.connector, 'connectors')
143146
run: |

0 commit comments

Comments
 (0)