Skip to content

Commit 52ac8ad

Browse files
authored
limit only to lines starting with a digit (#1058)
1 parent 97fd586 commit 52ac8ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# otel instrumentation version comes in through alpha bom
4646
inst_version=$(./gradlew --console=plain android-agent:dependencies | \
4747
grep 'io.opentelemetry.instrumentation:opentelemetry-instrumentation-api ' | \
48-
sed -e "s/.* -> //" | sed -e "s/ .*//" | \
48+
sed -e "s/.* -> //" | sed -e "s/ .*//" | grep '^\d' | \
4949
sort | head -1)
5050
# otel-java core libs are transient deps thru instrumentation boms
5151
sdk_version=$(./gradlew --console=plain android-agent:dependencies | \

0 commit comments

Comments
 (0)