Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def git_remote_url(name)
end

def git_current_branch
sh_capture_output("git", "rev-parse", "--abbrev-ref=HEAD").chomp
sh_capture_output("git", "rev-parse", "--abbrev-ref", "HEAD").chomp
end

def git_last_commit(branch="HEAD")
Expand All @@ -203,7 +203,7 @@ def repository_url_extract_repository(url)
# apache/arrow-flight-sql-postgresql.git
repository = url.split(":").last
end
respoitory.delete_suffix(".git")
repository.delete_suffix(".git")
end

def repository_last_commit(repository)
Expand Down Expand Up @@ -252,7 +252,7 @@ def validate_rc(version)

conclusions = ci_conclusions(release_repository, "main", remote_commit)
unless conclusions.all? {|conclusion| conclusion == "success"}
raise "CI failed: https://github.com/#{release_repository}/commit/#{remote_commit}"
raise "CI wasn't succeeded: https://github.com/#{release_repository}/commit/#{remote_commit}"
end
end

Expand Down