Skip to content

Commit

Permalink
Bump version for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Rantanen committed Apr 9, 2020
1 parent b836d3c commit a01af1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "env_dev" {
module "env_prod" {
# IMPORTANT: The prod environment is pinned to the latest release version, so it won't change during normal development.
# See infra/README.md for how to deal with it during releases, when actual prod infra changes need to be made.
source = "git::ssh://[email protected]/futurice/symptomradar.git//infra/modules/main?ref=v2.0"
source = "git::ssh://[email protected]/futurice/symptomradar.git//infra/modules/main?ref=v2.1"
providers = { aws.us_east_1 = aws.us_east_1 } # this alias is needed because ACM is only available in the "us-east-1" region

name_prefix = "${var.name_prefix}-prod"
Expand Down
2 changes: 1 addition & 1 deletion src/backend/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const incomingResponseSample: FrontendResponseModelT = {
};
const persistedResponseSample: BackendResponseModelT = {
age_group: '20',
app_version: 'v2.0',
app_version: 'v2.1',
breathing_difficulties: 'no',
corona_suspicion: 'no',
cough: 'mild',
Expand Down
2 changes: 1 addition & 1 deletion src/backend/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function prepareResponseForStorage(
timestamp: new Date(timestamp()) // for security, don't trust browser clock, as it may be wrong or fraudulent
.toISOString()
.replace(/:..\..*/, ':00.000Z'), // to preserve privacy, intentionally reduce precision of the timestamp
app_version: 'v2.0', // TODO: This should be set by the deploy process, not hard-coded!
app_version: 'v2.1', // TODO: This should be set by the deploy process, not hard-coded!
country_code: countryCode,
postal_code: mapPostalCode(response).postal_code, // to protect the privacy of participants from very small postal code areas, they are merged into larger ones, based on known population data
duration: response.duration === null ? null : parseInt(response.duration),
Expand Down

0 comments on commit a01af1f

Please sign in to comment.