File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 5454 cd ../aws-sdk-kotlin
5555 git fetch origin
5656
57- DIFF=$(git diff origin/main --unified=0 -- gradle/libs.versions.toml | grep '^[-+][^-+]')
58- if [ -z "$DIFF" ]; then
59- echo "::error::Matching smithy-kotlin and aws-sdk-kotlin branches but no smithy-kotlin version bump"
60- exit 1
61- fi
62-
63- echo "getting version bump"
64- SMITHY_KOTLIN_VERSION_BUMP=$(echo "$DIFF" | grep "smithy-kotlin-runtime-version =\|smithy-kotlin-codegen-version =")
65- echo "$SMITHY_KOTLIN_VERSION_BUMP"
57+ DIFF=$(git diff origin/main -- gradle/libs.versions.toml | grep '^[-+][^-+]'; exit 0)
58+ SMITHY_KOTLIN_VERSION_BUMP=$(echo "$DIFF" | grep "smithy-kotlin-runtime-version =\|smithy-kotlin-codegen-version ="; exit 0)
6659
6760 if [ -z "$SMITHY_KOTLIN_VERSION_BUMP" ]; then
6861 echo "::error::Matching smithy-kotlin and aws-sdk-kotlin branches but no smithy-kotlin version bump"
You can’t perform that action at this time.
0 commit comments