Skip to content

Commit 4121601

Browse files
authored
Fix release:rc:tag problems (#95)
1 parent 0f3817b commit 4121601

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def git_remote_url(name)
186186
end
187187

188188
def git_current_branch
189-
sh_capture_output("git", "rev-parse", "--abbrev-ref=HEAD").chomp
189+
sh_capture_output("git", "rev-parse", "--abbrev-ref", "HEAD").chomp
190190
end
191191

192192
def git_last_commit(branch="HEAD")
@@ -203,7 +203,7 @@ def repository_url_extract_repository(url)
203203
# apache/arrow-flight-sql-postgresql.git
204204
repository = url.split(":").last
205205
end
206-
respoitory.delete_suffix(".git")
206+
repository.delete_suffix(".git")
207207
end
208208

209209
def repository_last_commit(repository)
@@ -252,7 +252,7 @@ def validate_rc(version)
252252

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

0 commit comments

Comments
 (0)