Skip to content

Commit

Permalink
chore: prod release
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Apr 26, 2024
1 parent 82d3217 commit 6c011e2
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 58 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Press "j" in console after starting expo project. See [Expo Debugging & Profilin
|------------|-------------|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|--------------|
| dev | 3.0.9 | 3.1.0 | custom dev clients for simulators are in `src/front/dev-clients`, app has an orange icon (dev clients for for physical devices can be installed directly from the expo build website) | default | 50 |
| staging | 3.0.9 | 3.1.0 | [TestFlight](https://appstoreconnect.apple.com/apps/1613421729/testflight) and [Google Play internal testing](https://play.google.com/console/u/1/developers/6377537875100906890/app/4974417822540767109/tracks/internal-testing) separate apps from production with a blue icon | staging | 50 |
| production | 3.0.8 | 2.1.0 | App Stores | production | 49 |
| production | 3.0.9 | 3.1.0 | App Stores | production | 50 |

These three environments are three separate bundle IDs (see `src/front/app.config.js`) and can all be installed on the same device simultaneously.

Expand Down Expand Up @@ -57,7 +57,7 @@ These values are managed in GCP Secrets Manager. After running the terraform, ma

### Cutting a New Release

1. From `/data`: `./start_cloud_sql_proxy.sh prod` (or `dev`)
1. From `/data`: `./start_cloud_sql_proxy.sh prod` (or `dev`) (This need so to be done for each environment per release!)
1. From `src/front`: `npm run update-constants` (may need to update the db connection props in `.env`)
1. Determine if the api version needs to be bumped and update [src/common/config.js](src/common/config.js) and [src/back/package.json](src/back/package.json) accordingly.
1. Determine if app version (`version` in [app.config.js](src/front/app.config.js)) needs to be bumped. Apple requires it to be bumped after every production release.
Expand Down
197 changes: 141 additions & 56 deletions src/front/services/constants.json.lazy
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,6 @@
"rare": false,
"frequent": false
},
{
"species_id": 15,
"common_name": "Cougar (Mountiain Lion)",
"scientific_name": "Puma concolor",
"species_type": "wild",
"species_class": "mammals",
"species_order": "carnivores",
"family": "cats",
"rare": false,
"frequent": false
},
{
"species_id": 16,
"common_name": "Bobcat",
Expand Down Expand Up @@ -385,17 +374,6 @@
"rare": false,
"frequent": false
},
{
"species_id": 37,
"common_name": "Spotted Shunk",
"scientific_name": "Spilogale putorius",
"species_type": "wild",
"species_class": "mammals",
"species_order": "carnivores",
"family": "skunks",
"rare": false,
"frequent": false
},
{
"species_id": 38,
"common_name": "Cottontail Rabbit",
Expand Down Expand Up @@ -979,6 +957,17 @@
"rare": false,
"frequent": false
},
{
"species_id": 15,
"common_name": "Cougar (Mountain Lion)",
"scientific_name": "Puma concolor",
"species_type": "wild",
"species_class": "mammals",
"species_order": "carnivores",
"family": "cats",
"rare": false,
"frequent": false
},
{
"species_id": 91,
"common_name": "Long-nosed Leopard Lizard",
Expand Down Expand Up @@ -1573,6 +1562,17 @@
"rare": false,
"frequent": false
},
{
"species_id": 37,
"common_name": "Spotted Skunk",
"scientific_name": "Spilogale putorius",
"species_type": "wild",
"species_class": "mammals",
"species_order": "carnivores",
"family": "skunks",
"rare": false,
"frequent": false
},
{
"species_id": 144,
"common_name": "Peregrine Falcon",
Expand Down Expand Up @@ -1691,78 +1691,78 @@
"org_type": "agency"
},
{
"id": 18,
"name": "UGRC",
"org_type": "agency"
"id": 1,
"name": "Redrock Kleanup llc ",
"org_type": "contractor"
},
{
"id": 19,
"name": "UGRC",
"id": 5,
"name": "Wasatch County resident ",
"org_type": "agency"
},
{
"id": 20,
"name": "THE ugrc",
"id": 9,
"name": "Department of Natural Resources ",
"org_type": "agency"
},
{
"id": 21,
"name": "THE ugrc",
"id": 17,
"name": "Department of Transportation ",
"org_type": "agency"
},
{
"id": 22,
"name": "THE ugrc",
"id": 18,
"name": "Department of Agriculture and Food ",
"org_type": "agency"
},
{
"id": 23,
"name": "THE ugrc",
"org_type": "contractor"
"id": 19,
"name": "Public",
"org_type": "agency"
},
{
"id": 24,
"name": "Ugrc",
"id": 20,
"name": "Kearns Improvement District ",
"org_type": "agency"
},
{
"id": 26,
"name": "Test Org",
"id": 21,
"name": "N/a",
"org_type": "contractor"
},
{
"id": 27,
"name": "DWR",
"id": 22,
"name": "Springdale Police",
"org_type": "agency"
},
{
"id": 28,
"name": "DWR",
"org_type": "contractor"
"id": 23,
"name": "Department of health and human services ",
"org_type": "agency"
},
{
"id": 1,
"name": "Redrock Kleanup llc ",
"org_type": "contractor"
"id": 24,
"name": "Utah Trust Lands Administration ",
"org_type": "agency"
},
{
"id": 5,
"name": "Wasatch County resident ",
"id": 25,
"name": "Utah Department of Public Safety",
"org_type": "agency"
},
{
"id": 9,
"name": "Department of Natural Resources ",
"id": 26,
"name": "Emery School District ",
"org_type": "agency"
},
{
"id": 17,
"name": "Department of Transportation ",
"id": 27,
"name": "Cottonwood improvement district ",
"org_type": "agency"
},
{
"id": 25,
"name": "Utah Department of Public Safety",
"id": 28,
"name": "Dnr state parks ",
"org_type": "agency"
},
{
Expand Down Expand Up @@ -1799,6 +1799,91 @@
"id": 35,
"name": "UDAF",
"org_type": "agency"
},
{
"id": 36,
"name": "CWMU Association ",
"org_type": "contractor"
},
{
"id": 37,
"name": "Department of Enviornmental Quality",
"org_type": "agency"
},
{
"id": 38,
"name": "Salt Lake County Parks",
"org_type": "agency"
},
{
"id": 39,
"name": "University of Utah ",
"org_type": "agency"
},
{
"id": 40,
"name": "Sandy city public utilities ",
"org_type": "agency"
},
{
"id": 41,
"name": "Draper Police",
"org_type": "agency"
},
{
"id": 42,
"name": "Weber County Animal Control",
"org_type": "agency"
},
{
"id": 43,
"name": "Taylorsville City",
"org_type": "agency"
},
{
"id": 44,
"name": "Hideout",
"org_type": "agency"
},
{
"id": 45,
"name": "Draper City Public Works",
"org_type": "agency"
},
{
"id": 46,
"name": "J Fulton Thompson Corp",
"org_type": "contractor"
},
{
"id": 48,
"name": "Kananb City",
"org_type": "agency"
},
{
"id": 49,
"name": "Marc Bowler",
"org_type": "contractor"
},
{
"id": 50,
"name": "Utah County Sheriff's Office",
"org_type": "agency"
},
{
"id": 51,
"name": "Syracuse City",
"org_type": "agency"
},
{
"id": 52,
"name": "Utah Highway Patrol ",
"org_type": "agency"
},
{
"id": 47,
"name": "Utah Department of Environmental Quality",
"org_type": "agency"
}
]
}

0 comments on commit 6c011e2

Please sign in to comment.