Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kwongpan committed Jan 15, 2023
1 parent d3e9ae9 commit 2633c67
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ out
.settings
bin
.DS_Store
.java-version
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.8.0.342
5 changes: 3 additions & 2 deletions eventuate-plugins-gradle-publish/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ repositories {
}
}

dependencies {
implementation "io.github.gradle-nexus:publish-plugin:1.0.0"
apply plugin: 'java'

dependencies {
implementation "io.github.gradle-nexus:publish-plugin:1.1.0"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.eventuate.plugins.gradle.publish

import org.gradle.StartParameter
import org.gradle.api.tasks.GradleBuild

class PublishEventuateDockerImagesTask extends GradleBuild {
Expand All @@ -12,7 +11,7 @@ class PublishEventuateDockerImagesTask extends GradleBuild {
if (branch == "master") {
def version = project.version.replace("-SNAPSHOT", ".BUILD-SNAPSHOT")
startParameter.projectProperties = ["dockerImageTag" : version, "version" : version]
setTasks(["publishComposeBuild", , "publishComposePush"])
setTasks(["publishComposeBuild", "publishComposePush"])
} else if (branch.startsWith("wip-")) {
def version = GitBranchUtil.getWipPublishingVersion(project)
startParameter.projectProperties = ["dockerImageTag" : version, "version" : version]
Expand Down

0 comments on commit 2633c67

Please sign in to comment.