Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielThomas committed May 9, 2024
1 parent 48f6351 commit 5723a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/nebula/plugin/release/ReleasePlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ReleasePlugin implements Plugin<Project> {
gitCommandUtil.configure(gitRoot, shouldVerifyUserGitConfig)
gitWriteCommandsUtil.configure(gitRoot)

boolean currentBranch = gitCommandUtil.currentBranch()
String currentBranch = gitCommandUtil.currentBranch()
if (!currentBranch) {
this.project.version = '0.1.0-dev.0.uncommitted'
logger.warn("Git repository not found at $gitRoot -- nebula-release tasks will not be available. Use the git.root Gradle property to specify a different directory.")
Expand Down

0 comments on commit 5723a42

Please sign in to comment.