mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 01:07:09 +02:00
git fetch
before preparing
This commit is contained in:
parent
bd1af93729
commit
ca01dfec77
@ -3,6 +3,9 @@ namespace :release do
|
||||
task :prepare do
|
||||
raise "Use this task in development only" unless Rails.env.development?
|
||||
|
||||
# Fetch remote
|
||||
system("git fetch origin")
|
||||
|
||||
# detect merged PR
|
||||
old_version = FluentdUI::VERSION
|
||||
pr_numbers = `git log v#{old_version}..master --oneline`.scan(/#[0-9]+/)
|
||||
|
Loading…
Reference in New Issue
Block a user