Skip to content

Commit

Permalink
bump android v
Browse files Browse the repository at this point in the history
  • Loading branch information
kibagateaux committed Feb 3, 2024
1 parent cfb13de commit 306d831
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,33 +57,33 @@ jobs:
# TODO decide profile. master = production, staging = testing
- name: Build app
run: eas build --profile production --platform android # TODO -p 'all'
update:
name: EAS Update
needs: build
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/staging'
runs-on: ubuntu-latest
steps:
## todo add label to auto build
# https://docs.expo.dev/build/automate-submissions/
- name: Check for EXPO_TOKEN
run: |
if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then
echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets. Learn more: https://docs.expo.dev/eas-update/github-actions"
exit 1
fi
# update:
# name: EAS Update
# needs: build
# if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/staging'
# runs-on: ubuntu-latest
# steps:
# ## todo add label to auto build
# # https://docs.expo.dev/build/automate-submissions/
# - name: Check for EXPO_TOKEN
# run: |
# if [ -z "${{ secrets.EXPO_TOKEN }}" ]; then
# echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets. Learn more: https://docs.expo.dev/eas-update/github-actions"
# exit 1
# fi

- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
# - name: Setup EAS
# uses: expo/expo-github-action@v8
# with:
# eas-version: latest
# token: ${{ secrets.EXPO_TOKEN }}

# TODO decide profile. master = production, staging = testing
- name: Submit To Google app store (native updates)
run: eas submit -p android --profile production
# # TODO decide profile. master = production, staging = testing
# - name: Submit To Google app store (native updates)
# run: eas submit -p android --profile production

- name: Submit To Apple app store (native updates)
run: eas submit -p ios --profile production
# - name: Submit To Apple app store (native updates)
# run: eas submit -p ios --profile production

- name: Publish update (js hot updates)
run: eas update --auto
# - name: Publish update (js hot updates)
# run: eas update --auto
2 changes: 1 addition & 1 deletion app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {
},
android: {
package: packageName,
versionCode: 3,
versionCode: 4,
adaptiveIcon: {
foregroundImage: './public/adaptive-icon.png',
backgroundColor: '#ffffff',
Expand Down

0 comments on commit 306d831

Please sign in to comment.