Skip to content

Commit 9d55a00

Browse files
committed
debugging
1 parent a96f606 commit 9d55a00

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-readiness.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
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)
@@ -53,7 +54,11 @@ jobs:
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"

0 commit comments

Comments
 (0)