Skip to content

Commit f87544b

Browse files
committed
debugging
1 parent a85d606 commit f87544b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/release-readiness.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,8 @@ jobs:
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"

0 commit comments

Comments
 (0)