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

Release 2024 #153

Merged
merged 124 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
6cb900f
Merge pull request #126 from YajanaRao/master
YajanaRao Aug 6, 2022
b3351af
Minor UI update
YajanaRao Aug 6, 2022
45367ab
Replace home screen with section list
YajanaRao Aug 14, 2022
73024f3
Updated home screen and search screen
YajanaRao Aug 15, 2022
fb381d1
Merge branch 'develop' of https://github.com/YajanaRao/Serenity into …
YajanaRao Aug 15, 2022
324e1b4
Update FUNDING.yml
YajanaRao Aug 16, 2022
9a68046
updated docs and code update
YajanaRao Aug 16, 2022
cb9aa93
upgrade to rn 70 and added today's quote functionality
YajanaRao Aug 19, 2022
95ad90a
upgrade to rn 70 and added today's quote functionality
YajanaRao Aug 19, 2022
badb9b5
removed book section and updated version system
YajanaRao Aug 20, 2022
fe601a8
Update build.yml
YajanaRao Aug 20, 2022
9d41f51
React native version update to 0.69
YajanaRao Aug 20, 2022
4542202
Merge branch 'beta' of https://github.com/YajanaRao/Serenity into beta
YajanaRao Aug 20, 2022
d0b6602
Merge pull request #129 from YajanaRao/beta
YajanaRao Aug 20, 2022
d992ebe
updated build commits
YajanaRao Aug 20, 2022
d585097
Updated build script
YajanaRao Aug 20, 2022
4e38253
Merge pull request #130 from YajanaRao/beta
YajanaRao Aug 20, 2022
ff3eae2
v0.1.0
YajanaRao Aug 20, 2022
1cbfc20
Added script for incrementing version
YajanaRao Aug 20, 2022
17c9143
Added a file for version
YajanaRao Aug 20, 2022
7206d91
Shell script to update the version
YajanaRao Aug 20, 2022
47f8600
Update staging.yml
YajanaRao Aug 20, 2022
145169d
Updated build scripts
YajanaRao Aug 20, 2022
926ff68
Merge branch 'develop' of https://github.com/YajanaRao/Serenity into …
YajanaRao Aug 20, 2022
f4e6c1c
Update staging.yml
YajanaRao Aug 20, 2022
3bf7979
Update production.yml
YajanaRao Aug 20, 2022
79e9680
Updated the production script
YajanaRao Aug 20, 2022
2463ed2
Update build.yml
YajanaRao Aug 20, 2022
eab5753
Update release.yml
YajanaRao Aug 20, 2022
31f80e3
removed shell script
YajanaRao Aug 20, 2022
57f7a45
removed lock file
YajanaRao Aug 20, 2022
a1f5cd3
Removed moment js and replaced with dayjs
YajanaRao Aug 20, 2022
9126024
Added walkaround for yarn install issue
YajanaRao Aug 20, 2022
f1db5c6
Update build.yml
YajanaRao Aug 20, 2022
d5f0500
Update build.yml
YajanaRao Aug 20, 2022
f2cbbaf
Delete yarn.lock and node modules
YajanaRao Aug 20, 2022
1670652
Merge branch 'develop' of https://github.com/YajanaRao/Serenity into …
YajanaRao Aug 20, 2022
3a00bd9
Updated submodule
YajanaRao Aug 20, 2022
89dd6ef
Updated packages
YajanaRao Aug 20, 2022
3d86c11
minor update
YajanaRao Aug 21, 2022
d2fb3c4
Updated web imports
YajanaRao Sep 20, 2022
513aa7d
resolving issue with caching
YajanaRao Sep 21, 2022
146191b
Update build.yml
YajanaRao Sep 21, 2022
46c6e7a
Delete yarn.lock
YajanaRao Sep 21, 2022
c7def0d
Updated submodules
YajanaRao Sep 21, 2022
04d8608
Updated nohoist packages
YajanaRao Sep 21, 2022
34a0a9b
Change ubuntu machine
YajanaRao Sep 21, 2022
4201f83
Updated packages
YajanaRao Sep 21, 2022
2655b04
Execute build from script
YajanaRao Sep 21, 2022
c8140e9
Updated setup script
YajanaRao Sep 21, 2022
766ec79
Updated submodule
YajanaRao Sep 21, 2022
2044075
Update setup
YajanaRao Sep 22, 2022
16c30b2
Used turbo modules
YajanaRao Sep 26, 2022
3602230
Merge branch 'develop' of https://github.com/YajanaRao/Serenity into …
YajanaRao Sep 26, 2022
80c42b6
Updated scripts
YajanaRao Sep 26, 2022
6b04dcf
Updated repo to work without yarn
YajanaRao Sep 26, 2022
a3fd3a8
Fixed syntax issue in package.json
YajanaRao Sep 26, 2022
d1eae15
Updated folder name
YajanaRao Sep 26, 2022
cbe8403
Updated build fixes
YajanaRao Sep 26, 2022
3a66d76
Updated build scripts
YajanaRao Sep 26, 2022
227bf27
fixed build script
YajanaRao Sep 26, 2022
8d846a3
git submodule command update
YajanaRao Sep 26, 2022
014b491
chore: Updated submodule
YajanaRao Sep 27, 2022
41f3a85
chore: Walkaround
YajanaRao Sep 27, 2022
3b23105
Updated build process
YajanaRao Sep 27, 2022
270be00
Updated ubuntu version and added script
YajanaRao Sep 27, 2022
4d0c3f7
Added script for bump patch
YajanaRao Sep 27, 2022
ca7a1da
Updated build scripts
YajanaRao Sep 27, 2022
d45f372
Updated build scripts
YajanaRao Sep 27, 2022
1a584b4
Update staging.yml
YajanaRao Sep 27, 2022
555b534
Update version fix
YajanaRao Sep 27, 2022
d05d8a0
setup ruby
YajanaRao Sep 27, 2022
fdf3885
Updated setup script
YajanaRao Sep 27, 2022
045753d
Fixed some build issues
YajanaRao Sep 27, 2022
57f5792
Removed separate jobs and artifacts were missing
YajanaRao Sep 27, 2022
ea15ff4
Update staging.yml
YajanaRao Sep 27, 2022
9398963
Updated build script
YajanaRao Sep 28, 2022
8ae00c9
Merge branch 'develop' of https://github.com/YajanaRao/Serenity into …
YajanaRao Sep 28, 2022
f50383e
Fixed issue with progress bar
YajanaRao Oct 11, 2022
3ec6ff0
Updated build script and docs
YajanaRao Oct 11, 2022
f3a657c
Fixed key issue for flatlist and configured supabase env
YajanaRao Dec 28, 2022
4bd62c3
Updated setup docs
YajanaRao Dec 28, 2022
3482914
This reverts commit f3a657caa52286c3f78e27ae2b14535a9b0a4cc5. which d…
YajanaRao Dec 28, 2022
e82e8ef
Updated server url and token
YajanaRao Dec 28, 2022
0460054
Merge pull request #137 from YajanaRao/fix/progressbar
YajanaRao Dec 28, 2022
cbe5e4b
Updated build scripts
YajanaRao Dec 29, 2022
b3fa354
Merge branch 'develop' of https://github.com/YajanaRao/Serenity into …
YajanaRao Dec 29, 2022
706847c
Minor progress bar fix
YajanaRao Feb 6, 2023
5ec9b54
chore: updated submodule
YajanaRao Feb 6, 2023
0996f2a
WIP: react native upgrade
YajanaRao Jul 5, 2024
628858e
chore: Update metro.config.js and package.json for React Native upgrade
YajanaRao Jul 6, 2024
4004a7a
react native update and removed firebase analytics because of build i…
YajanaRao Jul 7, 2024
f43afe9
reverted firebase analytics on android
YajanaRao Jul 9, 2024
8182bd9
Merge pull request #139 from YajanaRao/upgrade
YajanaRao Jul 11, 2024
73b9efe
chore: Update Firebase-Distribution-Github-Action to v1.7.0
YajanaRao Jul 11, 2024
68d7ea2
Merge pull request #140 from YajanaRao/upgrade
YajanaRao Jul 11, 2024
7bbe24c
chore: Update Ruby version to 3.1.2 in build and staging workflows, a…
YajanaRao Jul 11, 2024
63d5684
Merge pull request #141 from YajanaRao/upgrade
YajanaRao Jul 11, 2024
b27752e
chore: Update Java version to 17 in build workflow
YajanaRao Jul 11, 2024
5bf0e8c
Merge pull request #142 from YajanaRao/upgrade
YajanaRao Jul 11, 2024
a29b1b1
chore: Update Java version to 17 in build workflow
YajanaRao Jul 11, 2024
85d2f3f
Merge pull request #143 from YajanaRao/upgrade
YajanaRao Jul 11, 2024
d20fdcf
chore: Update Java version to 17 in build workflow
YajanaRao Jul 11, 2024
38015db
Merge pull request #144 from YajanaRao/upgrade
YajanaRao Jul 11, 2024
2be2d55
chore: Add Google Services plugin to Android build.gradle
YajanaRao Jul 11, 2024
9eb945c
Merge pull request #145 from YajanaRao/upgrade
YajanaRao Jul 11, 2024
ae96913
removed settings
YajanaRao Jul 12, 2024
abce051
chore: Update Android build.gradle to remove unnecessary code
YajanaRao Jul 12, 2024
3356c7f
Merge pull request #146 from YajanaRao/upgrade
YajanaRao Jul 12, 2024
6bcfc91
using clarity instead of firebase analytics
YajanaRao Jul 12, 2024
4facd41
chore: Update React Navigation dependencies to latest versions
YajanaRao Jul 13, 2024
3485382
Merge pull request #147 from YajanaRao/upgrade
YajanaRao Jul 13, 2024
5b72f85
chore: Update Firebase-Distribution-Github-Action to v1.7.0
YajanaRao Jul 13, 2024
fc16b78
Merge pull request #148 from YajanaRao/upgrade
YajanaRao Jul 13, 2024
e70f7a1
chore: Update Firebase-Distribution-Github-Action to v1.7.0
YajanaRao Jul 15, 2024
10f8a43
Merge branch 'upgrade' of https://github.com/YajanaRao/Serenity into …
YajanaRao Jul 15, 2024
9ed9727
Merge pull request #149 from YajanaRao/upgrade
YajanaRao Jul 15, 2024
dc66ef4
chore: github actions update
Aug 3, 2024
c5cb067
chore: github actions update
YajanaRao Aug 3, 2024
818c9dd
chore: cleaning up github actions workflow file
YajanaRao Aug 3, 2024
86d0d01
chore: Update Firebase-Distribution-Github-Action to v1.7.0
YajanaRao Aug 5, 2024
744b061
chore: Update Firebase-Distribution-Github-Action to v1.7.0
YajanaRao Aug 6, 2024
4724750
chore: Update branch name in GitHub Actions workflow file
YajanaRao Aug 6, 2024
13832fd
chore: Update subproject commit in react-native-get-music-files package
YajanaRao Aug 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: yajana
# Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
open_collective: serenityapp
# Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
Expand Down
142 changes: 0 additions & 142 deletions .github/workflows/build.yml

This file was deleted.

99 changes: 99 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# This is a basic workflow to help you get started with Actions

name: Build

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [main]
paths-ignore:
- "README.md"
- "docs/**"

pull_request:
branches: [main]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:

name: Building and Distribution of Production Release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
bundler-cache: true

- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 17

- name: Decode env file
env:
ENV_SECRET: ${{ secrets.ENV_SECRET }}
run: echo $ENV_SECRET | base64 -d > apps/mobile/.env

- name: Update permission of executables
run: chmod +x scripts/setup scripts/build

- name: Setup packages
run: npm run setup

- name: Android Build
run: npm run build

- name: Upload Artifact
uses: actions/upload-artifact@v1
if: ${{ !github.event.pull_request }}
with:
name: app-release.apk
path: apps/mobile/android/app/build/outputs/apk/release/app-release.apk

- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: app-release.apk
path: apps/mobile/android/app/build/outputs/apk/release/app-release.apk

- name: upload artifact to Beta App Distribution
uses: wzieba/[email protected]
if: ${{ !github.event.pull_request }}
with:
appId: ${{secrets.FIREBASE_APP_ID}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
serviceCredentialsFile: apps/mobile/android/app/google-services.json
groups: beta
file: apps/mobile/android/app/build/outputs/apk/release/app-release.apk
releaseNotes: |
Below is the apk for commit: ${{ github.event.head_commit.message }}

- name: Upload artifact to telegram channel
uses: appleboy/telegram-action@master
if: ${{ !github.event.pull_request }}
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
Below is the apk for commit: ${{ github.event.head_commit.message }}
document: ${{ github.workspace }}/apps/mobile/android/app/build/outputs/apk/release/app-release.apk

- name: Download APK from build
uses: actions/download-artifact@v1
with:
name: app-release.apk

- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ github.run_number }}
files: app-release.apk/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86 changes: 30 additions & 56 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: Build
name: Staging

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
Expand All @@ -12,87 +12,61 @@ on:
- "docs/**"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on

name: Building and Distribution of Dev Release
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Setup packages
run: yarn setup

# set yarn cache directory
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

# Yarn cache
- name: Cache Node Modules
id: cache-root
uses: actions/cache@v2
- name: Set up ruby env
uses: ruby/setup-ruby@v1
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# Runs a single command using the runners shell
- name: Install packages
run: yarn
ruby-version: 3.1.2
bundler-cache: true

- name: Decode google-services.json
env:
FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }}
run: echo $FIREBASE_SECRET > app/mobile/android/app/google-services.json
- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 17
# - name: Decode google-services.json
# env:
# FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }}
# run: echo $FIREBASE_SECRET > apps/mobile/android/app/google-services.json

- name: Decode env file
env:
ENV_SECRET: ${{ secrets.ENV_SECRET }}
run: echo $ENV_SECRET | base64 -d > app/mobile/.env
run: echo $ENV_SECRET | base64 -d > apps/mobile/.env

- name: Add Version details
run: echo -e "\nVERSION_CODE = ${{ github.run_number }}" >> app/mobile/.env
- name: Update permission of executables
run: chmod +x scripts/setup scripts/build

- name: Cache Gradle Wrapper
uses: actions/cache@v2
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}

- name: Cache Gradle Dependencies
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-caches-

# fixed permission issue
- name: Make gradlew executable
run: chmod +x app/mobile/android/gradlew
- name: Setup packages
run: npm run setup

# Build android app
- name: Build Android Release
run: yarn release
- name: Android Build
run: npm run build

# uploading artifact
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: app-release.apk
path: app/mobile/android/app/build/outputs/apk/release/app-release.apk
path: apps/mobile/android/app/build/outputs/apk/release/app-release.apk

- name: upload artifact to Dev App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1.3.4
uses: wzieba/Firebase-Distribution-Github-Action@v1.7.0
with:
appId: ${{secrets.FIREBASE_APP_ID}}
token: ${{secrets.FIREBASE_TOKEN}}
serviceCredentialsFile: app/mobile/android/app/google-services.json
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
serviceCredentialsFile: apps/mobile/android/app/google-services.json
groups: dev
file: app/mobile/android/app/build/outputs/apk/release/app-release.apk
file: apps/mobile/android/app/build/outputs/apk/release/app-release.apk
releaseNotes: |
Below is the apk for commit: ${{ github.event.head_commit.message }}
Below is the apk for commit: ${{ github.event.head_commit.message }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ yarn-error.log*
node_modules/*

# generated files by bob
lib
lib

# turbo
.turbo
Loading
Loading