fix: Use edge as default channel as others not released yet for some boards
This commit is contained in:
		
							parent
							
								
									ff721929a9
								
							
						
					
					
						commit
						1c7fa57950
					
				| @ -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 () { | ||||
|  | ||||
| @ -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" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user