-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added CI/CD configuration for app center.
- Loading branch information
Hemant Kumar Sain
committed
Jul 14, 2020
1 parent
1d35a4c
commit a5a37bd
Showing
4 changed files
with
18 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
# Creates an .env from ENV variables for use with react-native-config | ||
ENV_WHITELIST=${ENV_WHITELIST:-"^RN_"} | ||
printf "Creating an .env file with the following whitelist:\n" | ||
printf "%s\n" $ENV_WHITELIST | ||
set | egrep -e $ENV_WHITELIST | sed 's/^RN_//g' > .env | ||
printf "\n.env created with contents:\n\n" | ||
cat .env |
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