Skip to content

Commit a1b02a9

Browse files
authored
Merge pull request #204 from Runnect/fix/deploy-jar-glob
fix: deploy.sh가 OTel agent jar를 앱 jar로 잘못 선택하는 버그 수정
2 parents 7acb46f + d80e730 commit a1b02a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33

44
APP_DIR=/home/ec2-user/app
55
cd "$APP_DIR"
6-
JAR_PATH=$(ls $APP_DIR/*.jar | grep -v plain | head -1)
6+
JAR_PATH=$(ls $APP_DIR/*.jar | grep -v plain | grep -v opentelemetry | head -1)
77
echo "> JAR 파일: $JAR_PATH"
88

99
OTEL_AGENT_JAR=$APP_DIR/grafana-opentelemetry-java.jar

0 commit comments

Comments
 (0)