Skip to content

Commit

Permalink
Merge pull request #74 from matheus-corregiari/hotfix/1.0.1
Browse files Browse the repository at this point in the history
change test
  • Loading branch information
matheus-corregiari committed Nov 9, 2023
2 parents 5c40d03 + be26bf7 commit 8733713
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ jobs:
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}

# Sign Credentials
sign_keyid: ${{ secrets.SIGN_FILENAME }}
sign_password: ${{ secrets.SIGN_KEYID }}
sign_filename: ${{ secrets.SIGN_PASSWORD }}
sign_keyid: ${{ secrets.SIGN_KEYID }}
sign_password: ${{ secrets.SIGN_PASSWORD }}
sign_filename: ${{ secrets.SIGN_FILENAME }}

- name: Build ${{ matrix.module }}
run: ./gradlew :${{ matrix.module }}:assembleRelease
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,17 @@ private fun Project.runGitCommand(
file.exists().not() -> {
when {
validateGit() -> {
println("foung git")
val output = command.executeWithText
if (output.isNullOrBlank()) {
println("null or blank")
default
} else {
println("uai")
file.parentFile.mkdirs()
file.writeText(output)
output
}
}

else -> {
println("not found git")
default
}
else -> default
}
}

Expand Down

0 comments on commit 8733713

Please sign in to comment.