Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tag Releasing: automated open-source releases (#55)
* Use the new build system * Add codeowners * Filter submodule results * Disable the orphaned_doc_comment rule * Filter submodules warnings based on message * Use the branch for now * Use temp branch for xcode summary * Start implementing tag releasing * Added more stages to tag releasing * Full release code is now in place * Update Bitrise workflows * Fix tag fetching * Install mint and changelog producer on tag release * Unhide dev dependencies for danger and local testing * Fetching the organization and repo name now works * Fix escaping chars * Fix latest tag fetching * Add cocoapods gem * Use SSH and temporary disable pod_trunk_push * Add extra documentation * Fix CI runs * Fix changelog generation * Update the readme * Enable pod_push again * Fix changelog generation by adding extra linebreak and title hash * Only run cocoapods stuff if there's a podspec * Remove package.resolved * Update README.md
- Loading branch information
Showing
6 changed files
with
208 additions
and
43 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
format_version: '8' | ||
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | ||
project_type: ios | ||
trigger_map: | ||
- tag: "*" | ||
workflow: wetransfer_tag_releasing | ||
workflows: | ||
wetransfer_tag_releasing: | ||
steps: | ||
- cache-pull: {} | ||
- bitrise-step-install-bundler: {} | ||
- script: | ||
inputs: | ||
- content: |- | ||
envman add --key BREW_MINT --value "$(brew --cellar)/mint" | ||
envman add --key BREW_OPT_MINT --value "/usr/local/opt/mint" | ||
brew install mint | ||
brew link mint | ||
mint install WeTransfer/ChangelogProducer | ||
title: Brew install | ||
- script: | ||
title: Run Fastlane | ||
inputs: | ||
- content: |- | ||
#!/usr/bin/env bash | ||
bundle config set path 'vendor/bundle' | ||
bundle install | ||
bundle exec fastlane release_from_tag | ||
- cache-push: | ||
run_if: true | ||
inputs: | ||
- is_debug_mode: 'true' | ||
- cache_paths: | | ||
$BITRISE_CACHE_DIR | ||
$BREW_MINT | ||
$BREW_OPT_MINT | ||
.build | ||
./vendor-> ./Gemfile.lock #gem installation directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ source 'https://rubygems.org' | |
gem 'fastlane' | ||
gem 'xcpretty' | ||
gem 'xcpretty-json-formatter' | ||
gem 'cocoapods' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters