ios: ci: deploy via fastlane
Some checks failed
TestFlight Release / testflight (push) Failing after 9s
Some checks failed
TestFlight Release / testflight (push) Failing after 9s
This commit is contained in:
@@ -42,9 +42,9 @@ def local_build_number
|
||||
end
|
||||
|
||||
def normalize_version_tag(tag)
|
||||
version = tag.to_s.strip.sub(/\Av/, "")
|
||||
unless version.match?(/\A\d+\.\d+(\.\d+)?\z/)
|
||||
UI.user_error!("Release tag #{tag.inspect} must look like v1.10 or v1.10.0")
|
||||
version = tag.to_s.strip.sub(%r{\Arelease/}, "").sub(/\Av/, "")
|
||||
unless version.match?(/\A\d+\.\d+\.\d+\z/)
|
||||
UI.user_error!("Release tag #{tag.inspect} must look like release/v1.10.0")
|
||||
end
|
||||
version
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user