From cd19845b6b6ddecbf723b0598b9fbb628dd2419f Mon Sep 17 00:00:00 2001 From: Felipe Lalanne <1822826+pipex@users.noreply.github.com> Date: Thu, 27 Apr 2023 12:40:46 -0400 Subject: [PATCH] Use valid release uuid for local releases On local push, the CLI uses `localrelease` as the `commit` property for the development application. This is not a valid uuid and will not be read properly by the supervisor, as seen in https://github.com/balena-os/balena-supervisor/blob/master/src/compose/service.ts#L652 While this is not a problem right now, the commit is becoming the main way to identify a service release (replacing `releaseId` and `imageId`), and the invalid release uuid could cause update issues when pushing a local release on when using some API endpoints. Change-type: patch Relates-to: balena-os/balena-supervisor#2136 --- lib/utils/device/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/device/deploy.ts b/lib/utils/device/deploy.ts index 588c723d..c079512a 100644 --- a/lib/utils/device/deploy.ts +++ b/lib/utils/device/deploy.ts @@ -44,7 +44,7 @@ import { displayBuildLog } from './logs'; import { stripIndent } from '../lazy'; const LOCAL_APPNAME = 'localapp'; -const LOCAL_RELEASEHASH = 'localrelease'; +const LOCAL_RELEASEHASH = '10ca12e1ea5e'; const LOCAL_PROJECT_NAME = 'local_image'; // Define the logger here so the debug output