Skip to content

Commit

Permalink
Update release lane (#3212)
Browse files Browse the repository at this point in the history
  • Loading branch information
laevandus authored May 20, 2024
1 parent 68f02b7 commit a5f118b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/start-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ jobs:
name: Start new release
runs-on: macos-14
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0 # to fetch git tags
- uses: ./.github/actions/ruby-cache
- uses: ./.github/actions/xcode-cache
- name: Create Release PR
run: bundle exec fastlane release version:"${{ github.event.inputs.version }}" --verbose
env:
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
- name: Install Bot SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- uses: actions/[email protected]
with:
fetch-depth: 0 # to fetch git tags
- uses: ./.github/actions/ruby-cache
- uses: ./.github/actions/xcode-cache
- name: Create Release PR
run: bundle exec fastlane release version:"${{ github.event.inputs.version }}" --verbose
env:
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ GEM
fastlane
pry
fastlane-plugin-sonarcloud_metric_kit (0.2.1)
fastlane-plugin-stream_actions (0.3.28)
fastlane-plugin-stream_actions (0.3.35)
xctest_list (= 1.2.1)
fastlane-plugin-versioning (0.5.2)
ffi (1.16.3)
Expand Down Expand Up @@ -434,7 +434,7 @@ DEPENDENCIES
fastlane-plugin-create_xcframework
fastlane-plugin-lizard
fastlane-plugin-sonarcloud_metric_kit
fastlane-plugin-stream_actions (= 0.3.28)
fastlane-plugin-stream_actions (= 0.3.35)
fastlane-plugin-versioning
jazzy
json
Expand Down
3 changes: 2 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ lane :release do |options|
File.open(swift_environment_path, 'w') { |f| f.puts(new_content) }

# Update sdk sizes
update_img_shields_sdk_sizes
Dir.chdir('fastlane') { update_img_shields_sdk_sizes }
end

match_me
pod_lint
release_ios_sdk(
version: options[:version],
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Pluginfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
gem 'fastlane-plugin-versioning'
gem 'fastlane-plugin-create_xcframework'
gem 'fastlane-plugin-sonarcloud_metric_kit'
gem 'fastlane-plugin-stream_actions', '0.3.28'
gem 'fastlane-plugin-stream_actions', '0.3.35'

0 comments on commit a5f118b

Please sign in to comment.