From b88e9c33e74c352f238a1403828ec1836e1d4b25 Mon Sep 17 00:00:00 2001 From: Adam Borbas Date: Tue, 14 Jul 2026 10:03:27 +0200 Subject: [PATCH] Add fastlane + GitHub Actions release automation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automates the three release steps documented in RELEASING.md via fastlane lanes, each with a matching workflow_dispatch workflow: - cut_release: branch from main and bump MARKETING_VERSION - beta: sign via match, auto-bump the build number, archive, upload to TestFlight, and enable the build for the internal "Testers" group. Fails fast if MARKETING_VERSION is already released (closed train). - publish: tag, create the GitHub release, and open a back-merge PR Signing uses fastlane match (certs in a private repo, fetched read-only on CI via an SSH deploy key). Secrets and the Team ID are injected via the protected `release` environment and repo variables — nothing sensitive is committed. fastlane is pinned to 2.237.0. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/cut-release.yml | 31 ++++ .github/workflows/publish.yml | 38 +++++ .github/workflows/release.yml | 31 +++- .gitignore | 1 + .ruby-version | 1 + Gemfile | 3 + Gemfile.lock | 245 ++++++++++++++++++++++++++++++ RELEASING.md | 10 ++ fastlane/Appfile | 14 ++ fastlane/Fastfile | 163 ++++++++++++++++++++ fastlane/Matchfile | 11 ++ fastlane/README.md | 48 ++++++ 12 files changed, 592 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/cut-release.yml create mode 100644 .github/workflows/publish.yml create mode 100644 .ruby-version create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 fastlane/Appfile create mode 100644 fastlane/Fastfile create mode 100644 fastlane/Matchfile create mode 100644 fastlane/README.md diff --git a/.github/workflows/cut-release.yml b/.github/workflows/cut-release.yml new file mode 100644 index 0000000..fabeabd --- /dev/null +++ b/.github/workflows/cut-release.yml @@ -0,0 +1,31 @@ +name: Cut Release + +on: + workflow_dispatch: + inputs: + version: + description: 'Marketing version to cut (e.g. 1.3.0)' + required: true + +jobs: + cut: + name: Cut Release Branch + runs-on: macos-15 + if: github.actor == 'adborbas' + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Configure git identity + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - name: Cut release + run: bundle exec fastlane cut_release version:${{ inputs.version }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..24cba6f --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,38 @@ +name: Publish Release + +on: + workflow_dispatch: + inputs: + version: + description: 'Version to publish (e.g. 1.3.0) — must have a release/ branch' + required: true + +permissions: + contents: write + pull-requests: write + +jobs: + publish: + name: Tag, Release, Back-merge PR + runs-on: macos-15 + environment: release + if: github.actor == 'adborbas' + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Configure git identity + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - name: Publish + env: + GH_TOKEN: ${{ github.token }} + run: bundle exec fastlane publish version:${{ inputs.version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b7a6bf..bdf54a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,17 +8,40 @@ env: jobs: build: - name: Build Release + name: Upload to TestFlight runs-on: macos-15 + environment: release + if: github.actor == 'adborbas' steps: - uses: actions/checkout@v4 - name: Select Xcode run: sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app/Contents/Developer - # TODO: Add release build, signing, and distribution steps - - name: Build - run: echo "Release build placeholder" + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - name: Set up Local.xcconfig + run: | + echo "DEVELOPMENT_TEAM = ${{ vars.DEVELOPMENT_TEAM }}" > Config/Local.xcconfig + + - name: Configure SSH for match certs repo + run: | + mkdir -p ~/.ssh + echo "${{ secrets.MATCH_DEPLOY_KEY }}" > ~/.ssh/match_ed25519 + chmod 600 ~/.ssh/match_ed25519 + ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null + echo -e "Host github.com\n IdentityFile ~/.ssh/match_ed25519\n IdentitiesOnly yes" >> ~/.ssh/config + + - name: Upload to TestFlight + env: + ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }} + ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }} + ASC_KEY_P8: ${{ secrets.ASC_KEY_P8 }} + MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} + run: bundle exec fastlane beta promo-screenshots: name: Promo Screenshots diff --git a/.gitignore b/.gitignore index feed61e..60e836d 100644 --- a/.gitignore +++ b/.gitignore @@ -79,3 +79,4 @@ Packages/AppStoreScreenshots/Resources/Bezels/ # Claude Code local settings .claude/settings.local.json +.claude/worktrees/ diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..be94e6f --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.2.2 diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..0b11579 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem "fastlane", "2.237.0" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..92fad89 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,245 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.8) + abbrev (0.1.2) + addressable (2.9.0) + public_suffix (>= 2.0.2, < 8.0) + artifactory (3.0.17) + atomos (0.1.3) + aws-eventstream (1.4.0) + aws-partitions (1.1269.0) + aws-sdk-core (3.254.0) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.992.0) + aws-sigv4 (~> 1.9) + base64 + bigdecimal + jmespath (~> 1, >= 1.6.1) + logger + aws-sdk-kms (1.130.0) + aws-sdk-core (~> 3, >= 3.254.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.227.0) + aws-sdk-core (~> 3, >= 3.254.0) + aws-sdk-kms (~> 1) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.12.1) + aws-eventstream (~> 1, >= 1.0.2) + babosa (1.0.4) + base64 (0.3.0) + benchmark (0.5.0) + bigdecimal (4.1.2) + claide (1.1.0) + colored (1.2) + colored2 (3.1.2) + commander (4.6.0) + highline (~> 2.0.0) + csv (3.3.5) + declarative (0.0.20) + digest-crc (0.7.0) + rake (>= 12.0.0, < 14.0.0) + domain_name (0.6.20240107) + dotenv (2.8.1) + emoji_regex (3.2.3) + excon (1.5.0) + logger + faraday (1.10.6) + faraday-em_http (~> 1.0) + faraday-em_synchrony (~> 1.0) + faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) + faraday-net_http (~> 1.0) + faraday-net_http_persistent (~> 1.0) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) + faraday-retry (~> 1.0) + ruby2_keywords (>= 0.0.4) + faraday-cookie_jar (0.0.8) + faraday (>= 0.8.0) + http-cookie (>= 1.0.0) + faraday-em_http (1.0.0) + faraday-em_synchrony (1.0.1) + faraday-excon (1.1.0) + faraday-httpclient (1.0.1) + faraday-multipart (1.2.0) + multipart-post (~> 2.0) + faraday-net_http (1.0.2) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + faraday-retry (1.0.4) + faraday_middleware (1.2.1) + faraday (~> 1.0) + fastimage (2.4.1) + fastlane (2.237.0) + CFPropertyList (>= 2.3, < 5.0.0) + abbrev (~> 0.1) + addressable (>= 2.9.0, < 3.0.0) + artifactory (~> 3.0) + aws-sdk-s3 (~> 1.197) + babosa (>= 1.0.3, < 2.0.0) + base64 (~> 0.2) + benchmark (>= 0.1.0) + bundler (>= 2.4.0, < 5.0.0) + colored (~> 1.2) + commander (~> 4.6) + csv (~> 3.3) + dotenv (>= 2.1.1, < 3.0.0) + emoji_regex (>= 0.1, < 4.0) + excon (>= 0.71.0, < 2.0.0) + faraday (~> 1.0) + faraday-cookie_jar (~> 0.0.6) + faraday_middleware (~> 1.0) + fastimage (>= 2.1.0, < 3.0.0) + fastlane-sirp (>= 1.1.0) + gh_inspector (>= 1.1.2, < 2.0.0) + google-apis-androidpublisher_v3 (~> 0.3) + google-apis-playcustomapp_v1 (~> 0.1) + google-cloud-env (>= 1.6.0, < 2.3.0) + google-cloud-storage (~> 1.31) + highline (~> 2.0) + http-cookie (~> 1.0.5) + json (< 3.0.0) + jwt (>= 2.10.3, < 4) + logger (>= 1.6, < 2.0) + mini_magick (>= 4.9.4, < 5.0.0) + multi_json (~> 1.12) + multipart-post (>= 2.0.0, < 3.0.0) + mutex_m (~> 0.3) + naturally (~> 2.2) + nkf (~> 0.2) + optparse (>= 0.1.1, < 1.0.0) + ostruct (>= 0.1.0) + plist (>= 3.1.0, < 4.0.0) + rubyzip (>= 2.0.0, < 3.0.0) + security (= 0.1.5) + simctl (~> 1.6.3) + terminal-notifier (>= 2.0.0, < 3.0.0) + terminal-table (~> 3) + tty-screen (>= 0.6.3, < 1.0.0) + tty-spinner (>= 0.8.0, < 1.0.0) + word_wrap (~> 1.0.0) + xcodeproj (>= 1.13.0, < 2.0.0) + xcpretty (~> 0.4.1) + xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) + fastlane-sirp (1.1.0) + gh_inspector (1.1.3) + google-apis-androidpublisher_v3 (0.104.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-core (0.18.0) + addressable (~> 2.5, >= 2.5.1) + googleauth (~> 1.9) + httpclient (>= 2.8.3, < 3.a) + mini_mime (~> 1.0) + mutex_m + representable (~> 3.0) + retriable (>= 2.0, < 4.a) + google-apis-iamcredentials_v1 (0.28.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-playcustomapp_v1 (0.18.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-storage_v1 (0.64.0) + google-apis-core (>= 0.15.0, < 2.a) + google-cloud-core (1.9.0) + google-cloud-env (>= 1.0, < 3.a) + google-cloud-errors (~> 1.0) + google-cloud-env (2.2.2) + base64 (~> 0.2) + faraday (>= 1.0, < 3.a) + google-cloud-errors (1.7.0) + google-cloud-storage (1.62.0) + addressable (~> 2.8) + digest-crc (~> 0.4) + google-apis-core (>= 0.18, < 2) + google-apis-iamcredentials_v1 (~> 0.18) + google-apis-storage_v1 (>= 0.42) + google-cloud-core (~> 1.6) + googleauth (~> 1.9) + mini_mime (~> 1.0) + google-logging-utils (0.2.0) + googleauth (1.17.1) + faraday (>= 1.0, < 3.a) + google-cloud-env (~> 2.2) + google-logging-utils (~> 0.1) + jwt (>= 1.4, < 4.0) + os (>= 0.9, < 2.0) + pstore (~> 0.1) + signet (>= 0.16, < 2.a) + highline (2.0.3) + http-cookie (1.0.8) + domain_name (~> 0.5) + httpclient (2.9.0) + mutex_m + jmespath (1.6.2) + json (2.21.1) + jwt (3.2.0) + base64 + logger (1.7.0) + mini_magick (4.13.2) + mini_mime (1.1.5) + multi_json (1.21.1) + multipart-post (2.4.1) + mutex_m (0.3.0) + nanaimo (0.4.0) + naturally (2.3.0) + nkf (0.3.0) + optparse (0.8.1) + os (1.1.4) + ostruct (0.6.3) + plist (3.7.2) + pstore (0.2.1) + public_suffix (7.0.5) + rake (13.4.2) + representable (3.2.0) + declarative (< 0.1.0) + trailblazer-option (>= 0.1.1, < 0.2.0) + uber (< 0.2.0) + retriable (3.8.0) + rexml (3.4.4) + rouge (3.28.0) + ruby2_keywords (0.0.5) + rubyzip (2.4.1) + security (0.1.5) + signet (0.22.0) + addressable (~> 2.8) + faraday (>= 0.17.5, < 3.a) + jwt (>= 1.5, < 4.0) + simctl (1.6.10) + CFPropertyList + naturally + terminal-notifier (2.0.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + trailblazer-option (0.1.2) + tty-cursor (0.7.1) + tty-screen (0.8.2) + tty-spinner (0.9.3) + tty-cursor (~> 0.7) + uber (0.1.0) + unicode-display_width (2.6.0) + word_wrap (1.0.0) + xcodeproj (1.28.1) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + base64 + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.4.0) + nkf + rexml (>= 3.3.6, < 4.0) + xcpretty (0.4.1) + rouge (~> 3.28.0) + xcpretty-travis-formatter (1.0.1) + xcpretty (~> 0.2, >= 0.0.7) + +PLATFORMS + arm64-darwin-25 + ruby + +DEPENDENCIES + fastlane (= 2.237.0) + +BUNDLED WITH + 2.5.21 diff --git a/RELEASING.md b/RELEASING.md index add031f..265fa69 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -2,6 +2,16 @@ Hemera uses release branches to allow development to continue on `main` while a release stabilizes (e.g., during Apple review). +The release is automated with [fastlane](fastlane/Fastfile) and GitHub Actions. Each of the three steps below has a matching lane you can run locally and a `workflow_dispatch` workflow you can trigger from the GitHub **Actions** tab: + +| Step | Lane | Workflow | +|---|---|---| +| Cut a release | `bundle exec fastlane cut_release version:1.3.0` | **Cut Release** | +| Upload to TestFlight | `bundle exec fastlane beta` | **Release** | +| Publish | `bundle exec fastlane publish version:1.3.0` | **Publish Release** | + +The manual git/`gh` steps below are what each lane does under the hood, kept for reference and for one-off manual releases. + ## Cutting a release 1. Branch from `main`: diff --git a/fastlane/Appfile b/fastlane/Appfile new file mode 100644 index 0000000..a1745b4 --- /dev/null +++ b/fastlane/Appfile @@ -0,0 +1,14 @@ +app_identifier("com.adborbas.hemera.app") + +# The Team ID is intentionally not tracked in git (see Config/Local.xcconfig.template). +# Read it from the environment (CI sets DEVELOPMENT_TEAM) or the developer's +# local, gitignored Config/Local.xcconfig — never hardcoded in a committed file. +team = ENV["DEVELOPMENT_TEAM"] +if team.nil? + local_config = File.expand_path("../Config/Local.xcconfig", __dir__) + team = File.read(local_config)[/DEVELOPMENT_TEAM\s*=\s*(\S+)/, 1] if File.exist?(local_config) +end +team_id(team) if team + +# Apple ID / App Store Connect login is not required: all lanes authenticate +# via an App Store Connect API key (see the Fastfile). diff --git a/fastlane/Fastfile b/fastlane/Fastfile new file mode 100644 index 0000000..e5a9f19 --- /dev/null +++ b/fastlane/Fastfile @@ -0,0 +1,163 @@ +default_platform(:ios) + +XCCONFIG = "Config/Shared.xcconfig".freeze +BETA_GROUP = "Testers".freeze # internal TestFlight group builds are enabled for + +platform :ios do + # --------------------------------------------------------------------------- + # 1. Cut a new release + # Branch from main, bump MARKETING_VERSION, commit, push. + # Usage: bundle exec fastlane cut_release version:1.3.0 + # --------------------------------------------------------------------------- + desc "Cut a new release branch and bump the marketing version" + lane :cut_release do |options| + version = options[:version] or UI.user_error!("Missing `version:` (e.g. version:1.3.0)") + branch = "release/#{version}" + + ensure_git_status_clean + sh("git", "fetch", "origin", "main") + sh("git", "checkout", "-B", branch, "origin/main") + + set_xcconfig_value(key: "MARKETING_VERSION", value: version) + + git_commit(path: XCCONFIG, message: "Prepare release #{version}") + push_to_git_remote(local_branch: branch, remote_branch: branch, force: false) + + UI.success("Cut #{branch}. Submit to Apple, then run the Beta lane to upload a build.") + end + + # --------------------------------------------------------------------------- + # 2. Upload a release build to TestFlight + # Signs via match, bumps the build number, archives, uploads. + # Usage: bundle exec fastlane beta + # --------------------------------------------------------------------------- + desc "Build a signed release and upload it to TestFlight" + lane :beta do + api_key = app_store_connect_api_key( + key_id: ENV.fetch("ASC_KEY_ID"), + issuer_id: ENV.fetch("ASC_ISSUER_ID"), + key_content: ENV.fetch("ASC_KEY_P8"), + is_key_content_base64: true, + in_house: false + ) + + # Fail fast (before the slow archive) if MARKETING_VERSION is already + # released: its TestFlight train is closed, so the upload would be rejected. + # Bumping the marketing version is a once-per-release decision — run + # `fastlane cut_release version:` instead. + ensure_open_version_train! + + match( + type: "appstore", + api_key: api_key, + readonly: true + ) + + # Unique build number per upload: highest TestFlight build for this version + 1. + next_build = latest_testflight_build_number( + api_key: api_key, + initial_build_number: 0 + ) + 1 + set_xcconfig_value(key: "CURRENT_PROJECT_VERSION", value: next_build.to_s) + + build_app( + project: "Hemera.xcodeproj", + scheme: "Hemera", + configuration: "Release", + export_method: "app-store", + export_options: { + provisioningProfiles: { + # match sets this env var to the exact profile name it installed. + "com.adborbas.hemera.app" => ENV["sigh_com.adborbas.hemera.app_appstore_profile-name"] + } + } + ) + + # Assign the build to the internal "Testers" group. This requires the build + # to finish processing first, so we wait (can take a few minutes). Internal + # groups need no beta review, so submit_beta_review is disabled — otherwise + # pilot would try (and fail) to submit for external review, which requires a + # Beta App Description. The build is still linked to the group. + upload_to_testflight( + api_key: api_key, + groups: [BETA_GROUP], + distribute_external: false, + submit_beta_review: false, + skip_waiting_for_build_processing: false + ) + + UI.success("Uploaded build #{next_build} to TestFlight and enabled it for '#{BETA_GROUP}'.") + end + + # --------------------------------------------------------------------------- + # 3. Publish a release + # Tag the release branch, create a GitHub release, merge back to main. + # Usage: bundle exec fastlane publish version:1.3.0 + # --------------------------------------------------------------------------- + desc "Tag, create a GitHub release, and merge the release branch back to main" + lane :publish do |options| + version = options[:version] or UI.user_error!("Missing `version:` (e.g. version:1.3.0)") + branch = "release/#{version}" + tag = "v#{version}" + + ensure_git_status_clean + sh("git", "fetch", "origin", branch, "main") + sh("git", "checkout", branch) + sh("git", "reset", "--hard", "origin/#{branch}") + + add_git_tag(tag: tag) + push_git_tags(tag: tag) + + sh("gh", "release", "create", tag, "--title", version, "--notes", "Release #{version}") + + # Open a PR to merge the release branch back into main. Merging it (and + # deleting the branch) is a manual step so it respects branch protection. + sh( + "gh", "pr", "create", + "--base", "main", + "--head", branch, + "--title", "Merge #{branch} back to main", + "--body", "Back-merge of the shipped #{tag} release into main." + ) + + UI.success("Published #{tag}. Opened a back-merge PR for #{branch} → main.") + end +end + +# Set a KEY = VALUE line in Config/Shared.xcconfig in place. +def set_xcconfig_value(key:, value:) + path = File.expand_path("../#{XCCONFIG}", __dir__) + contents = File.read(path) + updated = contents.gsub(/^#{Regexp.escape(key)}\s*=.*$/, "#{key} = #{value}") + UI.user_error!("`#{key}` not found in #{XCCONFIG}") if updated == contents + File.write(path, updated) + UI.message("Set #{key} = #{value} in #{XCCONFIG}") +end + +# Read a KEY's value from Config/Shared.xcconfig. +def get_xcconfig_value(key:) + path = File.expand_path("../#{XCCONFIG}", __dir__) + match = File.read(path).match(/^#{Regexp.escape(key)}\s*=\s*(.+)$/) + UI.user_error!("`#{key}` not found in #{XCCONFIG}") if match.nil? + match[1].strip +end + +# Fail if MARKETING_VERSION is already released on the App Store — its +# TestFlight train is closed for new builds. Requires that spaceship is already +# authenticated (app_store_connect_api_key sets its token by default). +def ensure_open_version_train! + marketing_version = get_xcconfig_value(key: "MARKETING_VERSION") + app = Spaceship::ConnectAPI::App.find("com.adborbas.hemera.app") + UI.user_error!("Could not find app com.adborbas.hemera.app on App Store Connect") if app.nil? + + live = app.get_live_app_store_version + return if live.nil? # nothing released yet — any version is open + + if Gem::Version.new(marketing_version) <= Gem::Version.new(live.version_string) + UI.user_error!( + "MARKETING_VERSION #{marketing_version} is already released (live: #{live.version_string}). " \ + "Its TestFlight train is closed for new builds. " \ + "Run `fastlane cut_release version:` to bump the marketing version first." + ) + end +end diff --git a/fastlane/Matchfile b/fastlane/Matchfile new file mode 100644 index 0000000..5306985 --- /dev/null +++ b/fastlane/Matchfile @@ -0,0 +1,11 @@ +git_url("git@github.com:adborbas/hemera-certificates.git") +storage_mode("git") + +type("appstore") + +app_identifier(["com.adborbas.hemera.app"]) + +# In CI the certs repo is read-only (fetched via SSH deploy key), so match must +# not attempt to create/regenerate signing assets. The one-time creation is done +# locally with `readonly: false` (see RELEASING.md). +readonly(true) diff --git a/fastlane/README.md b/fastlane/README.md new file mode 100644 index 0000000..211c6ac --- /dev/null +++ b/fastlane/README.md @@ -0,0 +1,48 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +## iOS + +### ios cut_release + +```sh +[bundle exec] fastlane ios cut_release +``` + +Cut a new release branch and bump the marketing version + +### ios beta + +```sh +[bundle exec] fastlane ios beta +``` + +Build a signed release and upload it to TestFlight + +### ios publish + +```sh +[bundle exec] fastlane ios publish +``` + +Tag, create a GitHub release, and merge the release branch back to main + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).