Skip to content

Commit 48fe3ed

Browse files
committed
Merge branch 'master' into dev
2 parents d151599 + 3aadbae commit 48fe3ed

File tree

6 files changed

+24
-9
lines changed

6 files changed

+24
-9
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
env:
3434
PUBLICATION_CREDENTIALS: ${{ secrets.PUBLICATION_CREDENTIALS }}
3535

36-
- name: Gradle closeRepository
37-
run: >
38-
./gradlew mirai-api-http:closeRepository --info --stacktrace --scan
39-
env:
40-
PUBLICATION_CREDENTIALS: ${{ secrets.PUBLICATION_CREDENTIALS }}
36+
# - name: Gradle closeRepository
37+
# run: >
38+
# ./gradlew mirai-api-http:closeRepository --info --stacktrace --scan
39+
# env:
40+
# PUBLICATION_CREDENTIALS: ${{ secrets.PUBLICATION_CREDENTIALS }}
4141

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ jobs:
5858
with:
5959
upload_url: ${{ steps.create_release.outputs.upload_url }}
6060
asset_path: ./mirai-api-http/build/ci/mirai-api-http.jar
61-
asset_name: mirai-api-http-${{ steps.tag.outputs.tag }}.mirai.jar
61+
asset_name: mirai-api-http-${{ steps.tag.outputs.tag }}.mirai2.jar
6262
asset_content_type: application/zip

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# 更新日志
22

3+
4+
## \[2.5.1\] - 2022-5-15
5+
6+
### 修复
7+
8+
+ 修复获取文件接口没有返回目录的信息 (#571)
9+
10+
### 变更
11+
12+
+ 各种原因,`2.5.1`, 包括 `2.5.0` 仅支持 core `2.11`
13+
14+
15+
316
## \[2.5.0\] - 2022-2-17
417

518
### 修复

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kotlin.incremental.multiplatform=true
55
org.gradle.parallel=true
66

77
# build
8-
httpVersion=2.5.0
8+
httpVersion=2.5.1
99

1010
# kotlin
1111
kotlinVersion=1.6.0

mirai-api-http/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import net.mamoe.mirai.console.gradle.BuildMiraiPluginV2
2+
13
plugins {
24
kotlin("jvm")
35
kotlin("plugin.serialization")
@@ -49,7 +51,7 @@ description = "Mirai HTTP API plugin"
4951
tasks.register("buildCiJar", Jar::class) {
5052
dependsOn("buildPlugin")
5153
doLast {
52-
val buildPluginTask = tasks.getByName("buildPlugin", Jar::class)
54+
val buildPluginTask = tasks.getByName("buildPlugin", BuildMiraiPluginV2::class)
5355
val buildPluginFile = buildPluginTask.archiveFile.get().asFile
5456
project.buildDir.resolve("ci").also {
5557
it.mkdirs()

mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/HttpApiPluginBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import java.io.File
2424
* 主要职责为读取配置文件 [MainSetting] 和 启动具体实现 [MahPluginImpl]
2525
*/
2626
object HttpApiPluginBase : KotlinPlugin(
27-
JvmPluginDescription(id = "net.mamoe.mirai-api-http", version = "2.5.0") {
27+
JvmPluginDescription(id = "net.mamoe.mirai-api-http", version = "2.5.1") {
2828
author("ryoii")
2929
info("Mirai HTTP API Server Plugin")
3030
}

0 commit comments

Comments
 (0)