File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ jobs:
5454 cd ../aws-sdk-kotlin
5555 git fetch origin
5656
57- LIBS_DIFF =$(git diff origin/main -- gradle/libs.versions.toml)
58- if [ -z "$LIBS_DIFF " ]; then
57+ DIFF =$(git diff origin/main --unified=0 -- gradle/libs.versions.toml)
58+ if [ -z "$DIFF " ]; then
5959 echo "::error::Matching smithy-kotlin and aws-sdk-kotlin branches but no smithy-kotlin version bump"
6060 exit 1
6161 fi
6262
6363 echo "getting version bump"
64- SMITHY_KOTLIN_VERSION_BUMP=$(echo "$LIBS_DIFF " | grep "smithy-kotlin-runtime-version =\|smithy-kotlin-codegen-version =")
64+ SMITHY_KOTLIN_VERSION_BUMP=$(echo "$DIFF " | grep "smithy-kotlin-runtime-version =\|smithy-kotlin-codegen-version =")
6565 echo "$SMITHY_KOTLIN_VERSION_BUMP"
6666
6767 if [ -z "$SMITHY_KOTLIN_VERSION_BUMP" ]; then
You can’t perform that action at this time.
0 commit comments