Skip to content

Commit

Permalink
Merge branch 'feat/mini-comments' of https://github.com/TERITORI/teri…
Browse files Browse the repository at this point in the history
…tori-dapp into feat/mini-comments
  • Loading branch information
sachin-into committed Feb 19, 2024
2 parents d6bc993 + c7159e2 commit 6d75f5a
Show file tree
Hide file tree
Showing 559 changed files with 8,281 additions and 5,742 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
INDEXER_NETWORK_ID=teritori-testnet
TERITORI_MINTER_CODE_IDS=10
TENDERMINT_WEBSOCKET_ENDPOINT=wss://rpc.testnet.teritori.com/websocket
TERITORI_COLLECTION_WHITELIST=0x43cc70bf324d716782628bed38af97e4afe92f69,0x916ad9d549907ccbbaf9ba65526826bfc3a9c0c4,tori162skshe30f43kv2q2rw6we2mu3pvz43lm2zrg4hq50jdd2fjjdjsvm8mc7,tori1zxzv4j9dxarfhxhkxm5cfnv06vy6g4l80adjwaq3dxdzmh5jm8rsrkzz65,tori18etjzrma5604af50jjklk3wlkqcsxdrvmy6jzw5naw2t7kyv4rys3kpwky,tori10z8um7u47e24rv68ghd43tspeztmqy3cc283gvc3pj48zxs5ljdqn84deq,tori1afwrcs58afaka6ltynevwcvq8zhejr3ssn703c0hky5emh890vzsry5wp5
TERITORI_COLLECTION_WHITELIST=tori16w7h5tkkjtr36rpcdg8qv4sfs2e44xcrz6a9eczcslywyfpsynfqyj5pt0,tori1hzz0s0ucrhdp6tue2lxk3c03nj6f60qy463we7lgx0wudd72ctmstg4wkc,tori14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s3hewys,0x43cc70bf324d716782628bed38af97e4afe92f69,0x916ad9d549907ccbbaf9ba65526826bfc3a9c0c4,tori162skshe30f43kv2q2rw6we2mu3pvz43lm2zrg4hq50jdd2fjjdjsvm8mc7,tori1zxzv4j9dxarfhxhkxm5cfnv06vy6g4l80adjwaq3dxdzmh5jm8rsrkzz65,tori18etjzrma5604af50jjklk3wlkqcsxdrvmy6jzw5naw2t7kyv4rys3kpwky,tori10z8um7u47e24rv68ghd43tspeztmqy3cc283gvc3pj48zxs5ljdqn84deq,tori1afwrcs58afaka6ltynevwcvq8zhejr3ssn703c0hky5emh890vzsry5wp5

PUBLIC_TENOR_KEY=AIzaSyA8TpVfoyoBaDdLww6wJ1Xe0OVN-Hi8qPE

Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/mobile-build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
go-version: "1.19"

- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
Expand All @@ -36,6 +38,14 @@ jobs:
- name: Install node modules
run: yarn install

- name: Bump android versionNumber
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: make bump-app-build-number

- name: Download service account from env
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: echo ${{ secrets.GOOGLE_SERVICES_JSON }} | base64 --decode > ./service-account-android-submit.json

- name: Fix gitignore
run: npx tsx ./packages/scripts/app-build/fixGitignore.ts

Expand All @@ -57,17 +67,20 @@ jobs:
- name: Build android
run: eas build --local --non-interactive --platform=android

- name: EAS Submit aab
- name: Update aab File path
run: |
AAB_FILE=$(find ./ -name 'build-*.aab' -type f)
if [ -z "$AAB_FILE" ]; then
echo "Error: apk file not found."
exit 1
fi
# eas submit --platform=android --path=$AAB_FILE --profile=production
echo "AAB_FILE=$AAB_FILE" >> $GITHUB_ENV
- name: EAS Submit Android aab
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: eas submit --platform=android --path=${{ env.AAB_FILE }} --profile=production

- name: Upload aab
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Bump ios buildNumber
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: make bump-ios-build-number
run: make bump-app-build-number

- name: Fix gitignore
run: npx tsx ./packages/scripts/app-build/fixGitignore.ts
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Rust

on:
push:
branches:
- main
pull_request:

jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: dtolnay/rust-toolchain@stable

- name: Test
run: make test.rust

- name: Check diff
run: git diff --exit-code
Loading

0 comments on commit 6d75f5a

Please sign in to comment.