Skip to content

Commit 7024a9d

Browse files
farleyb-amazonrobin-aws
authored andcommitted
Explicitly override version when validating release
Otherwise it just pulls down "latest", and with eventual consistency on PyPi we might end up pulling down a previous version and not actually validating our release. This has the downside that, again due to eventual consistency, the new version might not show up yet causing the build to fail. Since this build is idempotent this is not the end of the world, but we may want to make this more robust in the future.
1 parent 1987256 commit 7024a9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codebuild/release/prod-release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ phases:
1919
- tox -e release
2020
- git clone https://github.com/aws-samples/busy-engineers-document-bucket.git
2121
- cd busy-engineers-document-bucket/exercises/python/encryption-context-complete
22+
- sed -i "s/aws_encryption_sdk/aws_encryption_sdk==$VERSION/" requirements-dev.txt
2223
- tox -e test
2324

2425

0 commit comments

Comments
 (0)