-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): Add release script (#403)
chore(ci): update to run on release branch
- Loading branch information
1 parent
b7d229c
commit 4c4856f
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
# | ||
# Script to release new versions for iOS and Android. After running it, you still | ||
# have to build the project on XCode and Android Studio. | ||
# | ||
# This script expects a file `./env` with exported envvars. | ||
# | ||
|
||
set -e # Exit on any command failure. | ||
set -u # Exit on unset variables. | ||
set -v # Verbose mode for better debugging | ||
|
||
rm -rf node_modules/ | ||
|
||
rm -f ./android/app/google-services.json | ||
rm -f ./android/app/GoogleService-Info.plist | ||
rm -f ./notifications/GoogleService-Info.plist | ||
|
||
npm ci | ||
|
||
(cd ios/ && pod install) | ||
|
||
make i18n | ||
|
||
source ./env | ||
mkdir -p ./notifications | ||
aws s3 cp ${HATHOR_WALLET_MOBILE_S3_PATH}/google-services.json ./android/app | ||
aws s3 cp ${HATHOR_WALLET_MOBILE_S3_PATH}/GoogleService-Info.plist ./notifications/ |