File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 4141
4242 # TODO: Change grep pattern when we decouple runtime and codegen releases
4343 - name : Check for smithy-kotlin unreleased changes
44+ shell : bash
4445 run : |
4546 cd aws-sdk-kotlin
4647 SDK_BRANCH=$(git branch --show-current)
5354 if [ "$SDK_BRANCH" == "$SMITHY_KOTLIN_BRANCH" ]; then
5455 cd ../aws-sdk-kotlin
5556 git fetch origin
56- SMITHY_KOTLIN_VERSION_BUMP=$(git diff origin/main -- gradle/libs.versions.toml | grep "smithy-kotlin-runtime-version =\|smithy-kotlin-codegen-version =")
57+
58+ DIFF=$(git diff origin/main -- gradle/libs.versions.toml)
59+ echo "$DIFF"
60+ SMITHY_KOTLIN_VERSION_BUMP=$(echo "$DIFF" | grep "smithy-kotlin-runtime-version =\|smithy-kotlin-codegen-version =")
61+ echo "$SMITHY_KOTLIN_VERSION_BUMP"
5762
5863 if [ -z "$SMITHY_KOTLIN_VERSION_BUMP" ]; then
5964 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