Skip to content

Commit 13afda1

Browse files
committed
proper error message & temp test
1 parent 32cd40d commit 13afda1

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/release-readiness.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ jobs:
1717
- name: Configure Gradle
1818
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
1919

20-
- name: Configure error message
21-
run: echo "ERROR_MESSAGE=WARNING aws-crt-kotlin release and version bump might be required before merging" >> $GITHUB_ENV
22-
2320
- name: Build smithy-kotlin
24-
run: ./gradlew test jvmTest || { echo "$ERROR_MESSAGE"; exit 1; }
21+
run: ./gradlew test jvmTest
22+
23+
- name: Emit error message
24+
if: ${{ failure() }}
25+
run: |
26+
echo "::error ::Build failed. Did you forget to release aws-crt-kotlin and bump the dependency version?"
27+
exit 1

codegen/smithy-aws-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/aws/customization/RegionSupport.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ import software.amazon.smithy.rulesengine.language.syntax.parameters.Parameter
3333
* Region is enabled IFF sigv4(a) is enabled or an AWS SDK service is targeted
3434
*/
3535
class RegionSupport : KotlinIntegration {
36+
37+
wrench
38+
3639
companion object {
3740
const val BUILTIN_NAME = "AWS::Region"
3841

0 commit comments

Comments
 (0)