From 1c7fa57950cd058a86b1ff32a0e131bb17f5369e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Sun, 21 Oct 2018 15:29:35 +0200 Subject: [PATCH] fix: Use edge as default channel as others not released yet for some boards --- build-tool.js | 2 +- conf-tool.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-tool.js b/build-tool.js index fd8fc55..68117ef 100644 --- a/build-tool.js +++ b/build-tool.js @@ -59,7 +59,7 @@ async function pullOrClone (repo, dest, checkout) { await exec('git', dest, 'submodule', 'update') let newCommit = String(execWithOutput('git', '-C', dest, 'rev-parse', '--verify', 'HEAD').stdout) - return currentCommit !== newCommit // returns bool if snap need recompilation + return currentCommit !== newCommit // returns true if snap needs recompilation } async function main () { diff --git a/conf-tool.sh b/conf-tool.sh index 9dbe3e2..5912586 100644 --- a/conf-tool.sh +++ b/conf-tool.sh @@ -35,7 +35,7 @@ fi dev_user=$(echo "$user_email" | sed "s|@.*||g") -read_prompt "Device channel" "stable" +read_prompt "Device channel" "edge" # TODO: switch to "stable"/"beta" once released for rpi3 channel="$val" read_prompt "Device environment" "dev" " - use prod for production" dev_env="$val"