如何在fastlane文件中写入注释

kaf*_*lim 3 ruby android fastlane

我试图在我的 fastline 中注释某些行,但我不确定如何在 fastlane 文件中编写注释。我也不想删除这些行。

我是这样认为的:

build(variant: 'Release')
appcenter_upload(
  api_token: ENV['APPCENTER_API_TOKEN'],
  owner_name: "Ralali.com",
  app_name: "Ralali-Android",
  apk: "android/app/build/outputs/apk/release/app-release.apk",
  destinations: "Production",
  # destination_type: "group",   IS THIS LINE COMMENTED? (WON'T EXECUTED?)
  # notify_testers: true         AND ALSO THIS ONE
)
Run Code Online (Sandbox Code Playgroud)

我在生产中使用 Circleci 运行 fastlane,但我不想在生产中尝试,因为我害怕。

ole*_*dun 14

使用 # 表示单行注释,使用 =begin ... =end 表示多行注释。另请注意,=begin 和=end 必须位于行的开头,否则将出现语法错误。

# Single-line comment

=begin
Multi-line
comment
=end
Run Code Online (Sandbox Code Playgroud)