-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (46 loc) · 1.55 KB
/
prepare_release.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
50
51
52
name: Prepare a new release
on:
workflow_dispatch:
inputs:
name:
description: 'Version number'
required: true
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.5
bundler-cache: true
- name: Create release branch
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_COMMITTER_NAME: Bot Fabernovel
GIT_AUTHOR_NAME: Bot Fabernovel
GIT_COMMITTER_EMAIL: [email protected]
GIT_AUTHOR_EMAIL: [email protected]
run: bundle exec fastlane create_release_branch version:${{ github.event.inputs.name }}
- name: Prepare release
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_COMMITTER_NAME: Bot Fabernovel
GIT_AUTHOR_NAME: Bot Fabernovel
GIT_COMMITTER_EMAIL: [email protected]
GIT_AUTHOR_EMAIL: [email protected]
run: bundle exec fastlane prepare_release bypass_confirmations:true
- name: Create release pull requests
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_COMMITTER_NAME: Bot Fabernovel
GIT_AUTHOR_NAME: Bot Fabernovel
GIT_COMMITTER_EMAIL: [email protected]
GIT_AUTHOR_EMAIL: [email protected]
run: bundle exec fastlane create_release_pr