Commit 89de715b authored by Carola's avatar Carola
Browse files

Fastfile: add accidentally deleted lane and requirements back

parent 493ad342
fastlane_version '2.82.0' fastlane_version '2.82.0'
require './helpers/VLC.rb'
require './helpers/version.rb'
#### Release #### #### Release ####
desc 'Release a new version of VLC to the App Store' desc 'Release a new version of VLC to the App Store'
...@@ -84,3 +87,12 @@ private_lane :get_platform do |options| ...@@ -84,3 +87,12 @@ private_lane :get_platform do |options|
end end
platform platform
end end
desc 'Return the version received as parameter, or ask for it if missing'
private_lane :get_version do |options|
version = options[:version]
if !version || version.empty?
version = ask("Enter a new version number: ")
end
version
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment