File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
buildSrc/src/main/kotlin/software/aws/toolkits/gradle/changelog/tasks Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ tasks.register<GenerateGithubChangeLog>("generateChangeLog") {
36
36
changeLogFile.set(project.file(" CHANGELOG.md" ))
37
37
}
38
38
39
+ tasks.createRelease.configure {
40
+ releaseVersion.set(providers.gradleProperty(" toolkitVersion" ))
41
+ }
42
+
39
43
dependencies {
40
44
aggregateCoverage(project(" :intellij" ))
41
45
}
Original file line number Diff line number Diff line change @@ -23,11 +23,7 @@ open class CreateRelease @Inject constructor(projectLayout: ProjectLayout) : Cha
23
23
val releaseDate: Property <String > = project.objects.property(String ::class .java).convention(DateTimeFormatter .ISO_DATE .format(LocalDate .now()))
24
24
25
25
@Input
26
- val releaseVersion: Property <String > = project.objects.property(String ::class .java).convention(
27
- project.provider {
28
- (project.version as String ).substringBeforeLast(' -' )
29
- }
30
- )
26
+ val releaseVersion: Property <String > = project.objects.property(String ::class .java)
31
27
32
28
@Input
33
29
@Optional
You can’t perform that action at this time.
0 commit comments