Skip to content

Commit a524607

Browse files
committed
Includes more reliable #DEPLOY #RELEASE
1 parent d89f815 commit a524607

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

scripts/cp-env-to-properties.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
#
33
# Copy env variables to app module gradle properties file
44
#
5-
. config.sh
5+
6+
# Reliably include our config file
7+
DIR="${BASH_SOURCE%/*}"
8+
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
9+
. "$DIR/config.sh"
10+
11+
612

713
set +x // dont print the next lines on run script
814
mkdir ~/.gradle

scripts/github-release.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/bin/bash
2-
. config.sh
2+
3+
# Reliably include our config file
4+
DIR="${BASH_SOURCE%/*}"
5+
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
6+
. "$DIR/config.sh"
7+
8+
39

410
function create_github_release {
511

scripts/upload-apks.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/bin/bash
2-
. config.sh
2+
3+
# Reliably include our config file
4+
DIR="${BASH_SOURCE%/*}"
5+
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
6+
. "$DIR/config.sh"
7+
8+
39

410
# Uploads a build to Beta
511
function upload_to_beta {

0 commit comments

Comments
 (0)