Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Fix json overwrite script for SDK version updates
Browse files Browse the repository at this point in the history
  • Loading branch information
martinezpl authored Aug 15, 2022
1 parent b3472e6 commit 7a0e3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
aws ssm get-parameter --name /sdk/latest_versions > ssm.json
NEW_VALUE=$(cat ssm.json | python3 -c 'import json,sys,os;obj=json.loads(sys.stdin.read());obj=json.loads(obj["Parameter"]["Value"]);obj["python"]=os.environ["TRIGGER_TAG"][1:];print(json.dumps(obj))')
echo $NEW_VALUE
aws ssm put-parameter --name /sdk/latest_versions --type "String" --value "'$NEW_VALUE'" --overwrite
aws ssm put-parameter --name /sdk/latest_versions --type "String" --value "$NEW_VALUE" --overwrite
- <<: *slack_basic_fail
- <<: *slack_success_deploy

Expand Down

0 comments on commit 7a0e3d4

Please sign in to comment.