Rake tweaks
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -32,7 +32,9 @@ namespace :files do
|
||||
/^version = .*/ => %Q(version = '#{version}'),
|
||||
/^release = .*/ => %Q(release = '#{version}')
|
||||
)
|
||||
docs_package = Utils.first_match_in_file('docs/installation.rst', /\.package\(url: .+ from: "(.+)"/, 1)
|
||||
replace("docs/installation.rst",
|
||||
/\.package\(url: .+, from: "(.+)"/ => %Q(.package\(url: "https://github.com/stencilproject/Stencil.git", from: "#{version}"),
|
||||
/pod 'Stencil', '.*'/ => %Q(pod 'Stencil', '~> #{version}'),
|
||||
/github "stencilproject\/Stencil" ~> .*/ => %Q(github "stencilproject/Stencil" ~> #{version})
|
||||
)
|
||||
|
||||
@@ -13,6 +13,8 @@ namespace :release do
|
||||
task :check_versions do
|
||||
results = []
|
||||
|
||||
Utils.table_header('Check', 'Status')
|
||||
|
||||
# Check if bundler is installed first, as we'll need it for the cocoapods task (and we prefer to fail early)
|
||||
`which bundler`
|
||||
results << Utils.table_result(
|
||||
|
||||
Reference in New Issue
Block a user