check mid stage

This commit is contained in:
Brad Warren 2026-03-20 14:46:26 -07:00
parent ff7d64283d
commit d507db5b85
2 changed files with 3 additions and 1 deletions

View file

@ -13,4 +13,5 @@ variables:
stages:
- template: templates/stages/test-and-package-stage.yml
- template: templates/stages/changelog-stage.yml
- template: templates/stages/notify-stage.yml

View file

@ -34,9 +34,10 @@ def get_message():
r = requests.get(timeline_url)
data = r.json()
for x in data['records']:
if x['name'] == 'Deploy':
if x['name'] == 'Changelog':
deploy_result = x['result']
break
print(f'deploy_result is {deploy_result}')
# or data[-6(-ish)]['result']