Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added App release script #1284

Merged
merged 107 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
477346c
added landscape mode support
ygit Dec 1, 2023
18cb98c
landscape mode fixes
stanwolverine Dec 1, 2023
f09f792
Merge branch 'develop' into RN-153
ygit Dec 1, 2023
5b56f49
updated Example app changelog
ygit Dec 1, 2023
f5b0a76
inset chat view landscape mode fixes
stanwolverine Dec 1, 2023
71b7eab
Merge branch 'RN-153' of https://github.com/100mslive/react-native-hm…
stanwolverine Dec 1, 2023
cfd1baa
released sample app version 2.3.115 (365) ⚛️
ygit Dec 1, 2023
09cb7e7
Merge branch 'RN-153' of https://github.com/100mslive/react-native-hm…
ygit Dec 1, 2023
ecf099d
removed portrait lock from iOS app
ygit Dec 1, 2023
5f396e7
updated app version
ygit Dec 2, 2023
9b2cf5b
Merge branch 'develop' into RN-153
ygit Dec 2, 2023
ea57d6f
updated landscape handling
ygit Dec 4, 2023
6fced66
released sample app version 2.3.116 (366) ⚛️
ygit Dec 4, 2023
3c290f6
Merge branch 'develop' into RN-153
ygit Dec 4, 2023
68eeb4b
updated packages
ygit Dec 4, 2023
1f20941
formatted with trunk
ygit Dec 4, 2023
ebcf7ff
fix(sdk): :bug: screenshare publishing issue due to auto enter pip
stanwolverine Dec 5, 2023
3ada5bb
landscape bugfixes
stanwolverine Dec 5, 2023
913cbb2
released sample app version 2.3.117 (367) ⚛️
ygit Dec 5, 2023
154365e
version locked react-native-reanimated to 3.4.2
ygit Dec 5, 2023
bdc8990
inset local peer tile landscape fixes
stanwolverine Dec 5, 2023
88b80da
Merge branch 'RN-153' of https://github.com/100mslive/react-native-hm…
stanwolverine Dec 5, 2023
bec575b
released sample app version 2.3.119 (369) ⚛️
ygit Dec 5, 2023
8d227c8
Merge branch 'develop' into RN-153
ygit Dec 7, 2023
dabe50f
fix(prebuilt): :bug: removed `useAnimatedKeyboard` hook usage from an…
stanwolverine Dec 7, 2023
0b0fe7e
Merge branch 'RN-153' of https://github.com/100mslive/react-native-hm…
stanwolverine Dec 7, 2023
723e8f8
released sample app version 2.3.120 (370) ⚛️
ygit Dec 7, 2023
5a5c4e6
fix(prebuilt): :bug: publishing screenshare resolution is reverted in…
stanwolverine Dec 7, 2023
4c2ab76
Merge branch 'RN-153' of https://github.com/100mslive/react-native-hm…
stanwolverine Dec 7, 2023
3c347da
released sample app version 2.3.121 (371) ⚛️
ygit Dec 7, 2023
a021f80
updated status bar
ygit Dec 8, 2023
a11a698
released sample app version 2.3.122 (372) ⚛️
ygit Dec 8, 2023
9229b9e
initial gesture changes
stanwolverine Dec 8, 2023
dc07954
feat(prebuilt): completed hide header and footer animation
stanwolverine Dec 11, 2023
f854a82
released sample app version 2.3.123 (373) ⚛️
ygit Dec 11, 2023
4cb10da
updated packages
ygit Dec 11, 2023
b786dfa
fix(prebuilt): :bug: app crash on scree tap
stanwolverine Dec 12, 2023
9375250
Merge branch 'develop' into RN-138
ygit Dec 12, 2023
ecce941
released sample app version 2.3.124 (374) ⚛️
ygit Dec 12, 2023
6125413
fix(prebuilt): :bug: proper fix for app crash on screen tap
stanwolverine Dec 12, 2023
de74f4c
Merge branch 'RN-138' of https://github.com/100mslive/react-native-hm…
stanwolverine Dec 12, 2023
2b03424
feat(prebuilt): disable editing username if passed as prebuilt option
stanwolverine Dec 13, 2023
c02292d
fix(prebuilt): :bug: modal hiding behind keyboard
stanwolverine Dec 13, 2023
7d3517e
released sample app version 2.3.125 (375) ⚛️
ygit Dec 13, 2023
9e72d8f
added checks for safe area
ygit Dec 13, 2023
a7b2edb
fix(prebuilt): :bug: Empty local peer tile action sheet
stanwolverine Dec 13, 2023
1b97557
fix(prebuilt): :bug: footer buttons not detecting tap when any modal …
stanwolverine Dec 13, 2023
0ec34f6
Merge branch 'RN-143' of https://github.com/100mslive/react-native-hm…
stanwolverine Dec 13, 2023
b442c8d
refactor(prebuilt): modal keyboard handling in android
stanwolverine Dec 13, 2023
2e50b8a
fix(prebuilt): :bug: participants sheet safe area fixes
stanwolverine Dec 13, 2023
34fa418
released sample app version 2.3.126 (376) ⚛️
ygit Dec 13, 2023
d77c2af
Merge branch 'RN-143' of https://github.com/100mslive/react-native-hm…
ygit Dec 13, 2023
89d9c88
streaming and recording bugfixes
stanwolverine Dec 14, 2023
eb2d390
Merge branch 'RN-143' of https://github.com/100mslive/react-native-hm…
stanwolverine Dec 14, 2023
f9c1f15
released sample app version 2.3.128 (378) ⚛️
ygit Dec 14, 2023
c84a7e0
stopped emitting error when rejecting the promise (#1282)
ygit Dec 14, 2023
94ea3d6
recording button states fixes
stanwolverine Dec 14, 2023
2b35a32
Merge branch 'RN-143' of https://github.com/100mslive/react-native-hm…
stanwolverine Dec 14, 2023
7a7dd2f
released sample app version 2.3.129 (379) ⚛️
stanwolverine Dec 14, 2023
80de76b
released sample app version 2.3.129 (379) ⚛️
ygit Dec 15, 2023
5237cfb
Merge branch 'RN-143' of https://github.com/100mslive/react-native-hm…
ygit Dec 15, 2023
cbaaa9f
using flatlist from react-native-reanimated package
stanwolverine Dec 15, 2023
5b7cc04
added key prop to regular tiles flatlist
stanwolverine Dec 15, 2023
dcf6a78
added Vale linter
ygit Dec 16, 2023
5e9e362
added vale yml
ygit Dec 16, 2023
49dca55
added release script
ygit Dec 16, 2023
655e963
updated yml
ygit Dec 16, 2023
39f8caf
updated script
ygit Dec 16, 2023
a8af2c7
updated release script
ygit Dec 16, 2023
36f50fc
updated release script
ygit Dec 16, 2023
56aaf09
updated yml
ygit Dec 16, 2023
7d46d55
updated script
ygit Dec 16, 2023
93aba7e
updated script
ygit Dec 16, 2023
594fffc
updated script
ygit Dec 16, 2023
0956a94
updated script
ygit Dec 16, 2023
65210c1
updated script
ygit Dec 16, 2023
a053c0b
updated script
ygit Dec 16, 2023
bc61f35
updated script
ygit Dec 17, 2023
5e355d1
updated script
ygit Dec 17, 2023
26c1ad9
updated script
ygit Dec 17, 2023
6d3abc3
Merge branch 'develop' into addReleaseScript
ygit Dec 18, 2023
3d121c7
Merge branch 'develop' into addReleaseScript
ygit Dec 18, 2023
915b7e1
fix(prebuilt): :bug: flatlist stuck between 2 pages on orientation ch…
stanwolverine Dec 18, 2023
1d68fda
updated script
ygit Dec 18, 2023
5c6eafc
Merge branch 'develop' into addReleaseScript
ygit Dec 18, 2023
14f9c91
updated script
ygit Dec 18, 2023
bc41164
updated script
ygit Dec 18, 2023
1590c89
updated script
ygit Dec 18, 2023
48dd060
Merge branch 'develop' into RN-174
ygit Dec 18, 2023
2ff9a2c
Merge branch 'develop' into addReleaseScript
ygit Dec 18, 2023
fd23208
released sample app version 2.3.136 (386) ⚛️
ygit Dec 18, 2023
c67c6de
updated script
ygit Dec 18, 2023
78ed992
updated script
ygit Dec 18, 2023
5766c68
updated script
ygit Dec 18, 2023
4bc4675
updated slack script
ygit Dec 18, 2023
0b3d6eb
updated script
ygit Dec 18, 2023
7ce874e
updated changelog format
ygit Dec 18, 2023
c0880e8
updated changelog format
ygit Dec 18, 2023
4eaae10
updated changelog format
ygit Dec 18, 2023
040a60c
updated changelog
ygit Dec 18, 2023
2a71afb
updated changelog
ygit Dec 18, 2023
00ca33c
updated script
ygit Dec 18, 2023
547d44d
updated script
ygit Dec 18, 2023
e116e89
updated script
ygit Dec 18, 2023
1959587
Merge branch 'RN-174' into addReleaseScript
ygit Dec 18, 2023
ca1569e
running script on push to develop
ygit Dec 18, 2023
e25a92b
Merge branch 'develop' into addReleaseScript
ygit Dec 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/workflows/release_apps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Release Apps

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

on:
workflow_dispatch:

Check failure on line 8 in .github/workflows/release_apps.yml

View workflow job for this annotation

GitHub Actions / Trunk Check

yamllint(empty-values)

[new] empty value in block mapping
push:
branches:
- develop

permissions:
checks: write
contents: read

jobs:
release_android_app:
name: Release Android App
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 11
distribution: zulu

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 16

- name: Create Release APK
run: |
cd ./packages/react-native-hms
npm install
cd ../react-native-room-kit
npm install
cd ./example
npm install
cd ./android
chmod +x ./gradlew
./gradlew assembleRelease

- name: Upload artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{ secrets.FIREBASE_APP_ID }}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: internal, External
releaseNotesFile: ./packages/react-native-room-kit/example/ExampleAppChangelog.txt
file: ./packages/react-native-room-kit/example/android/app/build/outputs/apk/release/app-release.apk

- name: Extract Branch Name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Post Slack Notification
uses: rtCamp/[email protected]
env:
SLACK_CHANNEL: dogfooding
SLACK_COLOR: ${{ job.status }}
SLACK_ICON_EMMOJI: ":react:"
SLACK_USERNAME: React Native Bot
SLACK_WEBHOOK: ${{ secrets.SLACK_URL }}
SLACK_TITLE: ":react: 🎉 React Native Android App released! 🎊 :react:"
SLACK_MESSAGE: 📝 Changelog 🔗 https://github.com/100mslive/100ms-react-native/blob/${{ steps.extract_branch.outputs.branch }}/packages/react-native-room-kit/example/ExampleAppChangelog.txt
SLACK_FOOTER: 🤖 Download from Firebase 👉 https://appdistribution.firebase.dev/i/7b7ab3b30e627c35
22 changes: 22 additions & 0 deletions .github/workflows/trunk-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pull Request
on: [pull_request]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all

jobs:
trunk_check:
name: Trunk Check Runner
runs-on: ubuntu-latest
permissions:
checks: write
contents: read

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Trunk Check
uses: trunk-io/[email protected]
1 change: 0 additions & 1 deletion release-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ perform_npm_actions
P1=$!

wait $P1

release_android &
P2=$!

Expand Down
Loading