mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2024-12-22 21:52:31 -05:00
make a lane specifically for CircleCI
This commit is contained in:
parent
123e8ed2ca
commit
cd92252520
3 changed files with 16 additions and 6 deletions
|
@ -48,8 +48,7 @@ jobs:
|
||||||
name: Import CI context
|
name: Import CI context
|
||||||
command: |
|
command: |
|
||||||
set -e
|
set -e
|
||||||
fastlane match_dev
|
fastlane circleci
|
||||||
fastlane match_dist
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
# Caching Homebrew's files (see the save_cache step below) means that Homebrew doesn't have to update as
|
# Caching Homebrew's files (see the save_cache step below) means that Homebrew doesn't have to update as
|
||||||
# much. The Homebrew update can take several minutes without this, but with the cache it tends to take less
|
# much. The Homebrew update can take several minutes without this, but with the cache it tends to take less
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
default_platform(:mac)
|
default_platform(:mac)
|
||||||
|
|
||||||
platform :mac do
|
platform :mac do
|
||||||
before_all do
|
|
||||||
setup_circle_ci
|
|
||||||
end
|
|
||||||
|
|
||||||
desc "Use Fastlane Match to install development certificates"
|
desc "Use Fastlane Match to install development certificates"
|
||||||
lane :match_dev do
|
lane :match_dev do
|
||||||
match(type: "development", platform: "macos", output_path: "build", readonly: is_ci)
|
match(type: "development", platform: "macos", output_path: "build", readonly: is_ci)
|
||||||
|
@ -30,4 +26,11 @@ platform :mac do
|
||||||
match(type: "appstore", platform: "macos", output_path: "build", readonly: is_ci, additional_cert_types: "mac_installer_distribution")
|
match(type: "appstore", platform: "macos", output_path: "build", readonly: is_ci, additional_cert_types: "mac_installer_distribution")
|
||||||
match(type: "developer_id", platform: "macos", output_path: "build", readonly: is_ci, additional_cert_types: "developer_id_installer")
|
match(type: "developer_id", platform: "macos", output_path: "build", readonly: is_ci, additional_cert_types: "developer_id_installer")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
desc "Prepare for a CircleCI signed build"
|
||||||
|
lane :circleci do
|
||||||
|
setup_circle_ci
|
||||||
|
match_dev
|
||||||
|
match_dist
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -31,6 +31,14 @@ Use Fastlane Match to install development certificates
|
||||||
|
|
||||||
Use Fastlane Match to install distribution certificates
|
Use Fastlane Match to install distribution certificates
|
||||||
|
|
||||||
|
### mac circleci
|
||||||
|
|
||||||
|
```sh
|
||||||
|
[bundle exec] fastlane mac circleci
|
||||||
|
```
|
||||||
|
|
||||||
|
Prepare for a CircleCI signed build
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
|
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
|
||||||
|
|
Loading…
Reference in a new issue