mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Refine prepare-forward-merge to detect master
This commit is contained in:
@@ -25,7 +25,7 @@ def get_fixed_issues()
|
||||
end
|
||||
|
||||
def rewrite_message(message_file, fixed)
|
||||
current_branch = `git rev-parse --abbrev-ref HEAD`
|
||||
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
|
||||
if current_branch == "master"
|
||||
current_branch = $master_branch
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user