Skip to content

Commit

Permalink
[yorevs] Fix docker build images job - 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Saporetti Junior committed Sep 20, 2023
1 parent 851d056 commit 3da0cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/bash.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ task publish(type: Task) {
def commit_logs = out.toString()
def prefix = commit_logs?.trim() ? commit_logs?.split('\n').size() + ' commits' : ' No commits'
def commitMsg = "New HomeSetup revision: v'${version}' >> ${prefix}"
def tag = Boolean.valueOf(project.hasProperty("tag")) ? project.getProperty("tag") : false;
println("Revision commits: $commitMsg")
def tag = project.hasProperty("tag") ? Boolean.valueOf(project.getProperty("tag")) : false;
println("Revision commits: ${commitMsg} Tag?= ${tag}")
if (tag) {
exec {
commandLine 'git', 'tag', '-a', "v${version}", '-m', "New HomeSetup revision version ${version}"
Expand Down

0 comments on commit 3da0cdd

Please sign in to comment.