Skip to content

Instantly share code, notes, and snippets.

View bitrise-develop.yml
---
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: XXXX.xcworkspace
opts:
is_expand: false
- BITRISE_SCHEME: XXXXXX
opts:
View Dangerfile
# Test
# ソースコードに変更があるがテストコードが変更されていない場合messageを出す
is_source_changed = !git.modified_files.grep(/^Sources\/.*?\.(h|m|swift)$/).empty? || !git.added_files.grep(/^Sources\/.*?\.(h|m|swift)$/).empty?
is_test_changed = !git.modified_files.grep(/Tests\//).empty?
if is_source_changed && !is_test_changed
message('Tests did not changed🤔')
end
# タイトルに[WIP]が含まれていたらwarningを出す
View Gemfile
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
gem 'danger'
gem 'xcpretty-json-formatter'
gem 'danger-xcode_summary'
gem 'danger-swiftlint'
gem 'danger-lgtm'
View bitrise-danger.yml
---
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: XXXX.xcworkspace
opts:
is_expand: false
- BITRISE_SCHEME: XXXX.xcworkspace
opts:
View bitrise-releasenote.yml
---
format_version: '6'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
trigger_map:
- tag: "*"
workflow: release_note
workflows:
release_note:
steps:
View bitrise-appstoreconnect.yml
---
format_version: '6'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
trigger_map:
- push_branch: release/*
workflow: upload_to_appstoreconnect
workflows:
upload_to_appstoreconnect:
steps:
View bitrise-uitest.yml
---
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: XXXX.xcworkspace
opts:
is_expand: false
- BITRISE_SCHEME: XXXX
opts:
View bitrise-magicpod.yml
---
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: XXXX.xcworkspace
opts:
is_expand: false
- BITRISE_SCHEME: XXXX
opts:
View bitrise-outdated.yml
---
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: XXXX.xcworkspace
opts:
is_expand: false
- BITRISE_SCHEME: XXXX
opts: