mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
move pubspec to templates
This commit is contained in:
parent
2519b6feaf
commit
8ae45aff6e
3 changed files with 6 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -69,6 +69,8 @@ secp256k1.dll
|
|||
|
||||
## other generated project files
|
||||
|
||||
pubspec.yaml
|
||||
|
||||
/android/app/build.gradle
|
||||
/android/app/src/debug/AndroidManifest.xml
|
||||
/android/app/src/profile/AndroidManifest.xml
|
||||
|
|
|
@ -79,6 +79,10 @@ fi
|
|||
|
||||
# apply config project wide change changes
|
||||
if printf '%s\0' "${APP_NAMED_IDS[@]}" | grep -Fxqz -- "${APP_NAMED_ID}"; then
|
||||
if [ -f "${APP_PROJECT_ROOT_DIR}/pubspec.yaml" ]; then
|
||||
rm "${APP_PROJECT_ROOT_DIR}/pubspec.yaml"
|
||||
fi
|
||||
cp "${APP_PROJECT_ROOT_DIR}/scripts/app_config/templates/pubspec.yaml" "${APP_PROJECT_ROOT_DIR}/pubspec.yaml"
|
||||
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/update_version.sh" -v "${APP_VERSION_STRING}" -b "${APP_BUILD_NUMBER}"
|
||||
"${APP_PROJECT_ROOT_DIR}/scripts/app_config/shared/link_assets.sh" "${APP_NAMED_ID}"
|
||||
# shellcheck disable=SC1090
|
||||
|
|
Loading…
Reference in a new issue