Skip to content

Commit 65fb572

Browse files
committed
Updating build script to remove some previous workarounds.
1 parent 221d158 commit 65fb572

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

build.gradle.kts

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import org.jreleaser.model.Active
1818

1919
plugins {
2020
java
21-
alias(libs.plugins.jreleaser) apply false
21+
alias(libs.plugins.jreleaser)
2222
}
2323

2424
// Load the Smithy version from VERSION.
@@ -53,23 +53,14 @@ afterEvaluate {
5353
}
5454
}
5555

56-
// We're using JReleaser in the smithy-cli subproject, so we want to have a flag to control
57-
// which JReleaser configuration to use to prevent conflicts
58-
if (project.hasProperty("release.main")) {
5956
apply(plugin = "org.jreleaser")
6057

61-
// Workaround for https://github.com/jreleaser/jreleaser/issues/1492
62-
tasks.register("clean")
63-
6458
configure<JReleaserExtension> {
6559
dryrun = false
6660

67-
// Used for creating and pushing the version tag, but this configuration ensures that
68-
// an actual GitHub release isn't created (since the CLI release does that)
6961
release {
70-
github {
71-
skipRelease = true
72-
tagName = "{{projectVersion}}"
62+
generic {
63+
enabled = false
7364
}
7465
}
7566

@@ -103,4 +94,4 @@ if (project.hasProperty("release.main")) {
10394
}
10495
}
10596
}
106-
}
97+

0 commit comments

Comments
 (0)