Skip to content

Commit

Permalink
Merge branch '5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Sep 26, 2023
2 parents c336535 + 73b02bf commit f49d19f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ jobs:
- store_artifacts:
path: packages/openchs-android/android/app/build/generated/sourcemaps/react/<< pipeline.parameters.flavor >>Release/index.android.bundle.map
destination: sourcemap-<< pipeline.parameters.flavor >>-live-<< pipeline.parameters.versionName >>-<< pipeline.git.revision >>.map
- run: make deploy_platform_translations_for_flavor_live
- run: curl -L https://github.com/google/bundletool/releases/download/1.15.1/bundletool-all-1.15.1.jar > ./bundletool.jar
- run: java -jar ./bundletool.jar build-apks --bundle=packages/openchs-android/android/app/build/outputs/bundle/<< pipeline.parameters.flavor >>Release/app-<< pipeline.parameters.flavor >>-release.aab --output=avniuniversal.apks --mode=universal --ks=packages/openchs-android/android/app/<< pipeline.parameters.flavor >>-release-key.keystore --ks-pass=pass:$<< parameters.keystore_password >> --ks-key-alias=$<< parameters.key_alias >> --key-pass=pass:$<< parameters.key_password >>
- store_artifacts:
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ ifndef flavor
endif
flavor_folder_uppercase_path:=$(shell echo "$(flavor)" | awk '{print toupper(substr($$0,1,1)) (substr($$0,2))}')

#flavor_folder_uppercase_path:=$(shell echo "$(flavor)" | awk '{print toupper(substr($$0,1,1)) tolower(substr($$0,2))}')
ifeq ($(flavor), lfe)
sourcemap_file_path:=../../../../index.android.bundle.map
else
Expand Down Expand Up @@ -156,10 +155,10 @@ release: release_clean metro_config create_apk upload-release-sourcemap
bundle_release: release_clean metro_config create_bundle upload-release-sourcemap
release_dev: setup_hosts as_dev release

release_prod_without_clean: as_prod release
release_prod_without_clean: as_prod release upload-release-sourcemap
release_prod: renew_env release_prod_without_clean

bundle_release_prod_without_clean: as_prod bundle_release
bundle_release_prod_without_clean: as_prod bundle_release upload-release-sourcemap
bundle_release_prod: renew_env bundle_release_prod_without_clean

bundle_clean:
Expand Down
2 changes: 1 addition & 1 deletion packages/openchs-android/config/flavor_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"sakhi": {
"server_url": "https://server.avniproject.org",
"package_name": "org.sakhi.openchsclient",
"prod_admin_password_env_var_name": "OPENCHS_STAGING_ADMIN_PASSWORD",
"prod_admin_password_env_var_name": "OPENCHS_PROD_ADMIN_PASSWORD",
"bugsnag": {
"project_name": "avni-client",
"env_var_name": "OPENCHS_CLIENT_BUGSNAG_API_KEY"
Expand Down
21 changes: 13 additions & 8 deletions packages/openchs-android/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/openchs-android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"lodash": "4.17.21",
"moment": "2.29.4",
"native-base": "3.4.9",
"openchs-models": "1.30.68",
"openchs-models": "1.30.69",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-native": "0.72.3",
Expand Down

0 comments on commit f49d19f

Please sign in to comment.