From 05c56a523581e442fb2696cc9eda43135b724e46 Mon Sep 17 00:00:00 2001 From: Mo Date: Wed, 15 Jun 2022 20:36:39 -0500 Subject: [PATCH] chore: remove alpha/beta strings from mobile release version strings --- .github/workflows/mobile.release.dev.yml | 4 ++-- .github/workflows/mobile.release.prod.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mobile.release.dev.yml b/.github/workflows/mobile.release.dev.yml index 1571c6dcc..714208d97 100644 --- a/.github/workflows/mobile.release.dev.yml +++ b/.github/workflows/mobile.release.dev.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v2 - name: Export version from package.json run: | - echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4)" >> $GITHUB_ENV + echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV - name: Setup react-native kernel and increase watchers run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p - name: Decode Dev Android keystore @@ -59,7 +59,7 @@ jobs: uses: actions/checkout@v2 - name: Export version from package.json run: | - echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4)" >> $GITHUB_ENV + echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV - name: Ruby Setup for Fastlane uses: ruby/setup-ruby@v1 - name: Install dependencies diff --git a/.github/workflows/mobile.release.prod.yml b/.github/workflows/mobile.release.prod.yml index b0ab33811..99c84dca4 100644 --- a/.github/workflows/mobile.release.prod.yml +++ b/.github/workflows/mobile.release.prod.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v2 - name: Export version from package.json run: - echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4)" >> $GITHUB_ENV + echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV - name: Setup react-native kernel and increase watchers run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p - name: Decode Production Android keystore @@ -63,7 +63,7 @@ jobs: uses: actions/checkout@v2 - name: Export version from package.json run: - echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4)" >> $GITHUB_ENV + echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV - name: Install dependencies run: yarn install && yarn install:pods - run: yarn build:mobile