Skip to content

Commit 5fb6512

Browse files
committed
feat(release): Update release configuration to include OpenAPI generation in the verification and publishing process
1 parent b348934 commit 5fb6512

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.releaserc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
[
1111
"@semantic-release/exec",
1212
{
13-
"verifyConditionsCmd": "./gradlew check",
14-
"publishCmd": "./gradlew -Pversion=${nextRelease.version} publish && echo '${nextRelease.version}' > version.txt"
13+
"verifyConditionsCmd": "./gradlew openApiGenerate check",
14+
"publishCmd": "./gradlew -Pversion=${nextRelease.version} openApiGenerate publish && echo '${nextRelease.version}' > version.txt"
1515
}
1616
],
1717
"@semantic-release/git",

settings.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ dependencyResolutionManagement {
3434
}
3535
}
3636
include("backend")
37-
include("client")
38-
include("velocity-plugin")
3937
var path = file("backend/build/generated/java-client")
4038
if (path.exists()) {
39+
include("velocity-plugin")
4140
include("java-client")
4241
project(":java-client").projectDir = path
4342
}

0 commit comments

Comments
 (0)