Skip to content

Commit

Permalink
[6.1.0] 更新构建脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Jan 27, 2024
1 parent 1bce9a5 commit c3a3380
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
# 环境配置
Expand Down
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ fun PublishingExtension.applyToSub(subProject: Project) {
create<MavenPublication>("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}"
Expand Down

0 comments on commit c3a3380

Please sign in to comment.