feat: disable herokuish usage on both armhf and arm64 platforms

We will not provide support for herokuish on either as herokuish is meant to be Heroku-compatible, and the Heroku stack does not support arm. Use 'pack' or Dockerfiles for app building instead.
This commit is contained in:
Jose Diaz-Gonzalez committed 2022-05-22 17:12:52 -04:00
1 parent 0748b3eec8
commit 27769f54b0
2 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -7,8 +7,9 @@ trigger-builder-herokuish-builder-detect() {
declare desc="builder-herokuish builder-detect plugin trigger"
declare trigger="builder-detect"
declare APP="$1" SOURCECODE_WORK_DIR="$2"
local ARCHITECTURE="$(dpkg --print-architecture 2>/dev/null || true)"
if [[ "$(dpkg --print-architecture 2>/dev/null || true)" == "armhf" ]]; then
if [[ "$ARCHITECTURE" == "armhf" ]] || [[ "$ARCHITECTURE" == "arm64" ]]; then
return
fi