eas-update react-native update

Harry Jung·2023년 6월 1일
0
  1. eas.json 의 build.production -> channel 이 중요함
eas.json
{
  "cli": {
    "version": ">= 1.0.0"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal",
      "channel": "development"
    },
    "preview": {
      "distribution": "internal",
      "channel": "preview"
    },
    "preview2": {
      "android": {
        "buildType": "apk"
      }
    },
    "preview3": {
      "android": {
        "gradleCommand": ":app:assembleRelease"
      }
    },
    "preview4": {
      "developmentClient": true
    },
    
    "production": {
      "channel": "production"
    }
  },

  "submit": {
    "production": {
      "android":{
        "serviceAccountKeyPath": "./cargo4u-android-7b478957ee51.json"
      },
      "ios": {
        "appleId": "enesdyaz@gmail.com",
        "ascAppId": "6444356206",
        "appleTeamId": "X3XCHZ6F4A",
        "bundleIdentifier": "com.enesdyaz.cargo4u"
      }
    }
  }
}
  1. expo.dev 의 branch가 production-production 이 맞아야 함.
  1. CMD 명령어 사용은
    eas build --profile production --platform all
    eas update --branch production --message "is it ok"

1시간 넘어서 반영이 최종적으로 되었음.

  1. 업데이트 최종 확인


profile
Dreamsoft

0개의 댓글