Skip to content

Commit

Permalink
RePublish
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoii committed Feb 10, 2023
1 parent 58ff5c3 commit df785b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Grant Execute Permission for gradlew
run: chmod +x gradlew

- run: ./gradlew mirai-api-http:checkMavenCentralPublication --info --scan
- run: ./gradlew checkMavenCentralPublication --info --scan
env:
PUBLICATION_CREDENTIALS: ${{ secrets.PUBLICATION_CREDENTIALS }}

Expand Down
4 changes: 2 additions & 2 deletions mirai-api-http-spi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ tasks.register("buildSpi", Jar::class) {
val buildPluginFile = jarTask.archiveFile.get().asFile
project.buildDir.resolve("ci").also {
it.mkdirs()
}.resolve("mirai-api-http-spi-${{ project.version }}.jar").let {
}.resolve("mirai-api-http-spi-${project.version}.jar").let {
buildPluginFile.copyTo(it, true)
}
}
}

mavenCentralPublish {
workingDir = rootProject.buildDir.resolve("pub").apply { mkdirs() }
workingDir = project.buildDir.resolve("pub").apply { mkdirs() }
githubProject("project-mirai", "mirai-api-http-spi")
licenseFromGitHubProject("licenseAgplv3", "master")
developer("Mamoe Technologies")
Expand Down
4 changes: 2 additions & 2 deletions mirai-api-http/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tasks.register("buildCiJar", Jar::class) {
val buildPluginFile = buildPluginTask.archiveFile.get().asFile
project.buildDir.resolve("ci").also {
it.mkdirs()
}.resolve("mirai-api-http-${{ project.version }}.mirai2.jar").let {
}.resolve("mirai-api-http-${project.version}.mirai2.jar").let {
buildPluginFile.copyTo(it, true)
}
}
Expand All @@ -56,7 +56,7 @@ tasks.test {
}

mavenCentralPublish {
workingDir = rootProject.buildDir.resolve("pub").apply { mkdirs() }
workingDir = project.buildDir.resolve("pub").apply { mkdirs() }
githubProject("project-mirai", "mirai-api-http")
licenseFromGitHubProject("licenseAgplv3", "master")
developer("Mamoe Technologies")
Expand Down

0 comments on commit df785b6

Please sign in to comment.