Skip to content
Prev Previous commit
Next Next commit
bash script instead shell
  • Loading branch information
TingDaoK committed May 30, 2025
commit d26e02cb62857f9cf287d1efde5556b2b368685d
4 changes: 2 additions & 2 deletions codebuild/cd/publish-bundle.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
#!/bin/bash

set -ex
set -euo pipefail
set -o pipefail # Make sure one process in pipe fail gets bubble up

# Configuration
BUNDLE_FILE="bundle.zip"
Expand Down
4 changes: 2 additions & 2 deletions codebuild/cd/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ phases:
- cd $CODEBUILD_SRC_DIR/aws-crt-java
# Publish and promote the release.
- export PROMOTE_RELEASE=true
- ./codebuild/cd/publish-bundle.sh
- bash ./codebuild/cd/publish-bundle.sh
# deploy android
- ./codebuild/cd/publish-android.sh
- bash ./codebuild/cd/publish-android.sh

cache:
paths:
Expand Down
Loading