Skip to content

Commit 2cb113e

Browse files
authored
Unblock sync task using default BUILD_VERSION (#998)
1 parent 147f1d7 commit 2cb113e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

buildspec_sync.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ phases:
1212
- ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/bin --update
1313
- which aws
1414
- aws --version
15+
# Check BUILD_VERSION environment variable and set default if not provided
16+
- |
17+
if [ -z "$BUILD_VERSION" ]; then
18+
echo "BUILD_VERSION environment variable not provided, defaulting to BUILD_VERSION=2"
19+
export BUILD_VERSION=2
20+
else
21+
echo "BUILD_VERSION is set to: $BUILD_VERSION"
22+
fi
1523
build:
1624
commands:
1725
# Enforce STS regional endpoints

0 commit comments

Comments
 (0)