From c3a33808c4bfe766b2b4010893df8452f39079f9 Mon Sep 17 00:00:00 2001 From: Bkm016 Date: Sat, 27 Jan 2024 18:48:42 +0800 Subject: [PATCH] =?UTF-8?q?[6.1.0]=20=E6=9B=B4=E6=96=B0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-test.yml | 2 +- build.gradle.kts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 8a2c27682..2d7e2e4de 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -5,7 +5,7 @@ on: - master jobs: build: - # if: "contains(github.event.head_commit.message, 'dev')" + if: "contains(github.event.head_commit.message, 'dev')" runs-on: ubuntu-latest steps: # 环境配置 diff --git a/build.gradle.kts b/build.gradle.kts index c1675061a..af06a9ff1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -91,7 +91,9 @@ fun PublishingExtension.applyToSub(subProject: Project) { create("maven") { artifactId = subProject.name groupId = "io.izzel.taboolib" - version = (if (project.hasProperty("dev")) { + version = (if (project.hasProperty("devLocal")) { + "${project.version}-local-dev" + } else if (project.hasProperty("dev")) { "${project.version}-dev" } else { "${project.version}"