Skip to content

Commit 52460ec

Browse files
author
Petr Konecny
committed
feat(feature): testing feature development
1 parent 42db0d0 commit 52460ec

File tree

5 files changed

+16789
-27
lines changed

5 files changed

+16789
-27
lines changed

.github/workflows/create-release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,22 +77,22 @@ jobs:
7777
build_number: ${{ steps.build_number.outputs.build_number }}
7878
vars: ${{ toJson(vars) }}
7979

80-
- name: Build Application
81-
if: github.event.inputs.action_type != 'ota_update'
82-
uses: ./.github/actions/build
83-
with:
84-
environment: ${{ github.event.inputs.environment }}
85-
platform: ${{ github.event.inputs.platform }}
86-
auto_submit: ${{ github.event.inputs.action_type == 'build_and_submit' }}
80+
# - name: Build Application
81+
# if: github.event.inputs.action_type != 'ota_update'
82+
# uses: ./.github/actions/build
83+
# with:
84+
# environment: ${{ github.event.inputs.environment }}
85+
# platform: ${{ github.event.inputs.platform }}
86+
# auto_submit: ${{ github.event.inputs.action_type == 'build_and_submit' }}
8787

88-
- name: OTA Release
89-
if: github.event.inputs.action_type == 'ota_update'
90-
uses: ./.github/actions/ota-update
91-
env: ${{ vars }}
92-
with:
93-
channel: ${{ github.event.inputs.environment }}
94-
version: ${{ steps.version.outputs.version }}
95-
build_number: ${{ steps.build_number.outputs.build_number }}
88+
# - name: OTA Release
89+
# if: github.event.inputs.action_type == 'ota_update'
90+
# uses: ./.github/actions/ota-update
91+
# env: ${{ vars }}
92+
# with:
93+
# channel: ${{ github.event.inputs.environment }}
94+
# version: ${{ steps.version.outputs.version }}
95+
# build_number: ${{ steps.build_number.outputs.build_number }}
9696

9797
- name: Revert eas.json changes
9898
if: always()

README.md

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,31 @@ This template bootstraps Expo Managed Workflow focused not only on solid project
3232
- [Size Scaling](#size-scaling)
3333
- [Other Recommended Solutions](#other-recommended-solutions)
3434
- [Release Process](#release-process)
35-
- [Prerequisites](#prerequisites)
36-
- [Adding new ENV variables](#adding-new-env-variables)
37-
- [Development Build](#development-build)
38-
- [Staging Release](#staging-release)
39-
- [Production Submit](#production-submit)
40-
- [Release process example](#example-of-_ideal_-scenario)
41-
- [Hotfix Scenario example](#hotfix-scenario)
35+
- [Prerequisites:](#prerequisites)
36+
- [EAS](#eas)
37+
- [GitHub Setup Instructions](#github-setup-instructions)
38+
- [Expo Access Token](#expo-access-token)
39+
- [GitHub Workflow Permissions](#github-workflow-permissions)
40+
- [GitHub Personal Access Token](#github-personal-access-token)
41+
- [Required Permissions Table](#required-permissions-table)
42+
- [EAS BUILD](#eas-build)
43+
- [Credentials](#credentials)
44+
- [Builds and Submission](#builds-and-submission)
45+
- [OTA-UPDATE](#ota-update)
46+
- [Build number:](#build-number)
47+
- [Adding new `ENV` variables:](#adding-new-env-variables)
48+
- [Development Build:](#development-build)
49+
- [Staging Release:](#staging-release)
50+
- [WARNING IN CASE `Require a pull request before merging` RULE IS ENABLED](#warning-in-case-require-a-pull-request-before-merging-rule-is-enabled)
51+
- [Production Submit:](#production-submit)
52+
- [Example of _ideal_ scenario:](#example-of-ideal-scenario)
53+
- [Hotfix Scenario:](#hotfix-scenario)
4254
- [JIRA Integration](#jira-integration)
4355
- [Slack Integration](#slack-integration)
44-
- [DEV build distribution](#dev-build-distribution)
56+
- [DEV BUILD DISTRIBUTION](#dev-build-distribution)
57+
- [SLACK APP](#slack-app)
58+
- [CLOUDFLARE WORKERS](#cloudflare-workers)
59+
- [EAS SETUP](#eas-setup)
4560

4661
## Important Defaults - SETUP
4762

@@ -225,7 +240,7 @@ submit": {
225240

226241
### GitHub Workflow Permissions
227242

228-
1. Go to `Settings` > `Actions` > `Workflow permissions`.
243+
1. Go to `Settings` > `Actions` > `General` > `Workflow permissions`.
229244
2. Check `Read and write permissions`.
230245

231246
### GitHub Personal Access Token
@@ -257,6 +272,11 @@ When setting up the Fine-grained Personal Access Token, ensure you select the fo
257272

258273
### EAS BUILD
259274

275+
- Setup your project with your EAS account by running:
276+
```
277+
npx eas init
278+
```
279+
260280
### Credentials
261281

262282
- Set up` App Store Connect API Keys` for `staging` and `production` by running:

app.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const fallbackToCacheTimeout = 0
6060
const otaUpdatePriority: OtaUpdatePriority = 'normal'
6161

6262
const expoConfig: ExpoConfig = {
63+
owner: 'strv-internal',
6364
name,
6465
slug: 'template-react-native-expo',
6566
version,
@@ -112,6 +113,9 @@ const expoConfig: ExpoConfig = {
112113
extra: {
113114
fallbackToCacheTimeout,
114115
otaUpdatePriority,
116+
eas: {
117+
projectId: '46e1c780-9495-4650-93c8-7f465bf4e1d0',
118+
},
115119
},
116120
experiments: {
117121
tsconfigPaths: true,

0 commit comments

Comments
 (0)