forked from fastlane/fastlane
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (41 loc) · 1.29 KB
/
release_step_1_create_version_bump.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
name: Release Step 1 - Create Version Bump
on:
workflow_dispatch:
inputs:
bump_type:
description: 'Bump type'
required: true
type: choice
options:
- patch
- minor
- major
permissions:
contents: write
pull-requests: write
jobs:
create_version_bump:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install fastlane
run: bundle install
- name: Run fastlane bump
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
bundle exec fastlane bump bump_type:${{ github.event.inputs.bump_type }}
env:
GITHUB_USER_NAME: fastlane # Todo: This is needed for docs - remove somehow
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Todo: This is needed for docs - remove somehow
GITHUB_API_BEARER: ${{ secrets.GITHUB_TOKEN }}
FL_GITHUB_RELEASE_API_BEARER: ${{ secrets.GITHUB_TOKEN }}
FL_CHANGELOG_SLEEP: 10
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 180
FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 5