Browse Source

perf: 升级版本号

zengkunsen 4 months ago
parent
commit
2aed4f4a76
3 changed files with 8 additions and 5 deletions
  1. 1 1
      .env.production
  2. 1 1
      app.json
  3. 6 3
      eas.json

+ 1 - 1
.env.production

@@ -1,2 +1,2 @@
 EXPO_PUBLIC_NODE_ENV=production
-EXPO_PUBLIC_API_URL=https://api.crazycharge.com.hk
+EXPO_PUBLIC_API_URL=https://api.crazycharge.com.hk/api/v1

+ 1 - 1
app.json

@@ -2,7 +2,7 @@
   "expo": {
     "name": "Easy Charger",
     "slug": "template",
-    "version": "1.3.7",
+    "version": "1.3.8",
     "orientation": "portrait",
     "icon": "./assets/CC_Logo.png",
     "userInterfaceStyle": "light",

+ 6 - 3
eas.json

@@ -7,7 +7,8 @@
         "development": {
             "developmentClient": true,
             "distribution": "internal",
-            "channel": "development"
+            "channel": "development",
+            "environment": "development"
         },
         "preview": {
             "ios": {
@@ -19,14 +20,16 @@
                 "gradleCommand": ":app:assembleRelease"
             },
             "distribution": "internal",
-            "channel": "preview"
+            "channel": "preview",
+            "environment": "preview"
         },
         "production": {
             "autoIncrement": true,
             "android": {
                 "buildType": "apk"
             },
-            "channel": "production"
+            "channel": "production",
+            "environment": "production"
         }
     },
     "submit": {