Slide 34
Slide 34 text
Fastfile
desc "Add Draft Release to GitHub"
lane :draftRelease do
gradle(task: 'assembleProductionRelease')
set_github_release(
repository_name: “xxxx",
is_draft: true,
api_token: ENV['GITHUB_API_TOKEN'],
name: ENV['BITRISE_GIT_TAG'],
tag_name: ENV[‘BITRISE_GIT_TAG'],
description: commits_log,
upload_assets:
lane_context[SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS]
)
slack(message: “New Draft Release! :)”)
end