Skip to content

Commit 8eaf117

Browse files
authored
fix: amplify --version output warnings are interpreted as shell parameters (#14797)
1 parent ae14ef1 commit 8eaf117

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.circleci/local_publish_helpers_codebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function uploadPkgCliCodeBuild {
2828
set -e
2929

3030
cd out/
31-
export version=$(./amplify-pkg-linux-x64 --version)
31+
export version=$(./amplify-pkg-linux-x64 --version 2>/dev/null | tail -1)
3232

3333
# validate that version is uploaded in right build
3434
if [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then

0 commit comments

Comments
 (0)