ruby 如何在fastlane文件中写入注解

nkoocmlb  于 2023-04-11  发布在  Ruby
关注(0)|答案(1)|浏览(107)

我试图在我的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
)

我在生产中与Circleci一起运行快车道,我不想在生产中尝试,因为我害怕。

vngu2lb8

vngu2lb81#

单行注解使用#,多行注解使用=开始... =end。另外,请注意=begin和=end必须位于行首,否则将出现语法错误。

# Single-line comment

=begin
Multi-line
comment
=end

相关问题