-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Cryptophobia/master
chore(Makefile) upgrading go-dev container to v1.28.3
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 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 |
---|---|---|
|
@@ -24,7 +24,7 @@ mkdir -p $secret_dir | |
mkdir -p $buildpack_root | ||
mkdir -p $build_root/.profile.d | ||
|
||
if ! [[ -z "${TAR_PATH}" ]]; then | ||
if [[ -n "${TAR_PATH}" ]]; then | ||
get_object | ||
tar -xzf /tmp/slug.tgz -C /app/ | ||
unset TAR_PATH | ||
|
@@ -67,7 +67,7 @@ function cache_fingerprint() { | |
} | ||
|
||
# Restore cache when a $CACHE_PATH was supplied | ||
if ! [[ -z "${CACHE_PATH}" ]]; then | ||
if [[ -n "${CACHE_PATH}" ]]; then | ||
echo_title "Restoring cache..." | ||
restore_cache | ||
if [[ -f ${cache_file} ]]; then | ||
|
@@ -122,7 +122,7 @@ fi | |
|
||
## Buildpack detection | ||
|
||
buildpacks=($buildpack_root/*) | ||
buildpacks=("$buildpack_root/*") | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Cryptophobia
Author
Member
|
||
selected_buildpack= | ||
|
||
if [[ -n "$BUILDPACK_URL" ]]; then | ||
|
@@ -228,7 +228,7 @@ if [[ ! -f "$build_root/Procfile" ]]; then | |
fi | ||
|
||
# Compress and save cache | ||
if ! [[ -z "${CACHE_PATH}" ]]; then | ||
if [[ -n "${CACHE_PATH}" ]]; then | ||
echo_title "Checking for changes inside the cache directory..." | ||
# If there's any files in the cache_root folder, we'll create a tar and upload | ||
# it for future use | ||
|
This breaks build detection: