We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cc26d7 commit 6a72e0aCopy full SHA for 6a72e0a
codebuild/release/test-release.yml
@@ -16,11 +16,10 @@ phases:
16
python: latest
17
pre_build:
18
commands:
19
- - git checkout $BRANCH
20
- - CURRENT_COMMIT=$(git rev-parse --short HEAD)
+ - git checkout $COMMIT_ID
21
- |
22
- if expr "${CURRENT_COMMIT}" != ${COMMIT_ID}; then
23
- echo "HEAD of repository commit (${CURRENT_COMMIT}) did not match expected commit (${COMMIT_ID}), stopping"
+ if [[ ! $(grep "__version__ = \"${VERSION}\"" src/aws_encryption_sdk/identifiers.py) ]]; then
+ echo "identifiers.py does not contain expected version string ${version}, stopping"
24
exit 1;
25
fi
26
build:
0 commit comments