Skip to content

Commit

Permalink
upgrade version ios app
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Jan 26, 2024
1 parent fb9263f commit 6c4919b
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 87 deletions.
170 changes: 85 additions & 85 deletions .github/workflows/release-mobile-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,91 +6,91 @@ on:
workflow_dispatch:

jobs:
release-android-mobile:
name: release-android-mobile
runs-on: macos-latest #orai-self-hosted
strategy:
matrix:
node-version: [18.17.0]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore node_modules from cache
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Checkout submodule repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies # install project deps with --frozen-lockfile to make sure we will have the same packages version ( very recommended on running yarn install on ci)
run: yarn install --frozen-lockfile
- name: Install mobile packages
working-directory: packages/mobile
run: yarn --silent
- name: restore lerna
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Build Libs
run: yarn build:libs
- name: Build provider
working-directory: packages/mobile
run: yarn build:provider
env:
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
API_KEY_ETH_SCAN: ${{ secrets.API_KEY_ETH_SCAN }}
API_KEY_BSC_SCAN: ${{ secrets.API_KEY_BSC_SCAN }}
API_KEY: ${{ secrets.API_KEY_FIREBASE }}
SENDER_ID: ${{ secrets.SENDER_ID_FIREBASE }}
APP_ID: ${{ secrets.APP_ID_FIREBASE }}
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Setup JDK 11
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "temurin"
cache: gradle
- name: Grant execute permission for gradlew
working-directory: packages/mobile/android
run: chmod +x gradlew
- name: Decode Keystore File
uses: timheuer/base64-to-file@v1
id: android_keystore
with:
fileName: "OWalletKeystore"
encodedString: ${{ secrets.KEYSTORE_FILE }}
fileDir: "packages/mobile/android/fastlane"
- name: Setup Fastlane android
working-directory: packages/mobile/android/fastlane
run: cd .. && bundle update && fastlane release
env:
JSON_KEY_DATA: ${{ secrets.GOOGLE_ACCOUNT_SERVICE }}
DISCORD_HOOK_ID: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }}
DISCORD_HOOK_TOKEN: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }}
ALIAS: ${{ secrets.ALIAS }}
PASS_KEY_STORE: ${{ secrets.PASS_KEY_STORE }}
PASS_ALIAS_KEY_STORE: ${{ secrets.PASS_KEY_STORE }}
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
FILE_PATH: "/OWalletKeystore"
# release-android-mobile:
# name: release-android-mobile
# runs-on: macos-latest #orai-self-hosted
# strategy:
# matrix:
# node-version: [18.17.0]
# steps:
# - name: Cancel Previous Runs
# uses: styfle/[email protected]
# with:
# access_token: ${{ github.token }}
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# - name: Get yarn cache directory path
# id: yarn-cache-dir-path
# run: echo "::set-output name=dir::$(yarn cache dir)"
# - name: Restore node_modules from cache
# uses: actions/cache@v2
# id: yarn-cache
# with:
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-
# - name: Checkout submodule repo
# uses: actions/checkout@v3
# with:
# submodules: recursive
# - name: Install dependencies # install project deps with --frozen-lockfile to make sure we will have the same packages version ( very recommended on running yarn install on ci)
# run: yarn install --frozen-lockfile
# - name: Install mobile packages
# working-directory: packages/mobile
# run: yarn --silent
# - name: restore lerna
# uses: actions/cache@v3
# with:
# path: "**/node_modules"
# key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
# - name: Build Libs
# run: yarn build:libs
# - name: Build provider
# working-directory: packages/mobile
# run: yarn build:provider
# env:
# SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
# API_KEY_ETH_SCAN: ${{ secrets.API_KEY_ETH_SCAN }}
# API_KEY_BSC_SCAN: ${{ secrets.API_KEY_BSC_SCAN }}
# API_KEY: ${{ secrets.API_KEY_FIREBASE }}
# SENDER_ID: ${{ secrets.SENDER_ID_FIREBASE }}
# APP_ID: ${{ secrets.APP_ID_FIREBASE }}
# - name: Setup Ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: 3.2
# bundler-cache: true
# - name: Setup JDK 11
# uses: actions/setup-java@v3
# with:
# java-version: "11"
# distribution: "temurin"
# cache: gradle
# - name: Grant execute permission for gradlew
# working-directory: packages/mobile/android
# run: chmod +x gradlew
# - name: Decode Keystore File
# uses: timheuer/base64-to-file@v1
# id: android_keystore
# with:
# fileName: "OWalletKeystore"
# encodedString: ${{ secrets.KEYSTORE_FILE }}
# fileDir: "packages/mobile/android/fastlane"
# - name: Setup Fastlane android
# working-directory: packages/mobile/android/fastlane
# run: cd .. && bundle update && fastlane release
# env:
# JSON_KEY_DATA: ${{ secrets.GOOGLE_ACCOUNT_SERVICE }}
# DISCORD_HOOK_ID: ${{ secrets.DISCORD_MOBILE_WEBHOOK_ID }}
# DISCORD_HOOK_TOKEN: ${{ secrets.DISCORD_MOBILE_WEBHOOK_TOKEN }}
# ALIAS: ${{ secrets.ALIAS }}
# PASS_KEY_STORE: ${{ secrets.PASS_KEY_STORE }}
# PASS_ALIAS_KEY_STORE: ${{ secrets.PASS_KEY_STORE }}
# SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
# FILE_PATH: "/OWalletKeystore"
release-ios-mobile:
name: release-ios-mobile
runs-on: macos-latest #orai-self-hosted
Expand Down
4 changes: 2 additions & 2 deletions packages/mobile/ios/mobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.2.6;
MARKETING_VERSION = 1.2.9;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -648,7 +648,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.2.6;
MARKETING_VERSION = 1.2.9;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down

0 comments on commit 6c4919b

Please sign in to comment.