-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade smithy to 1.13 #520
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -42,6 +42,8 @@ val generateSdkRuntimeVersion by tasks.registering { | |||
// this keeps us from having to manually change version numbers in multiple places | |||
val resourcesDir = "$buildDir/resources/main/software/amazon/smithy/kotlin/codegen/core" | |||
val versionFile = file("$resourcesDir/sdk-version.txt") | |||
val gradlePropertiesFile = rootProject.file("gradle.properties") | |||
inputs.file(gradlePropertiesFile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question
This is to determine build dirty-ness or something else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. When we upgrade the version the generated version is not changing because it is already generated. This generally seems to only affect local development because CI is a fresh build. The fix is to clean and rebuild (or manually delete the file).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor note about a file that doesn't belong in this commit. Otherwise, looks good.
.github/pull_request_template.md
Outdated
## Scope | ||
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> | ||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctness: Unrelated to upgrading Smithy. This should be moved to a separate commit.
3b40438
to
71e10ea
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Issue #
Description of changes
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.