Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: elimu-ai/vitabu
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 32f7881efd049e0de335d138fe7933360c772bdf
Choose a base ref
..
head repository: elimu-ai/vitabu
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7d42b5e3e6e9e86cd29152647e4fd081dcce47f5
Choose a head ref
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/build.gradle
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -74,9 +74,9 @@ task releaseClean(dependsOn: ensureCleanRepo) {
String headCommitMessage = grgit.head().shortMessage
while (headCommitMessage.contains("[gradle-release-task]")) {
Clean = false
println "Found git commit: ($headCommitComment)"
if (headCommitComment.indexOf("-") > -1) {
tagName = headCommitComment.split("-")[0]
println "Found git commit: ($headCommitMessage)"
if (headCommitMessage.indexOf("vitabu-") > -1) {
def tagName = headCommitMessage.split("vitabu-")[1]
println "Removing the git tag: $tagName"
try {
grgit.tag.remove {
@@ -86,7 +86,7 @@ task releaseClean(dependsOn: ensureCleanRepo) {
println "Error while removing git tag:\n $e"
}
}
println "Resetting the git commit: ($headCommitComment) permanently!"
println "Resetting the git commit: ($headCommitMessage) permanently!"
grgit.reset(commit: "HEAD~1", mode: "hard")
headCommitMessage = grgit.head().shortMessage