Skip to content

Commit e2d2c38

Browse files
committed
fix: clarify the importance of the 'CreateAgent/Stable' path in update file search
1 parent cb53155 commit e2d2c38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Taskfile.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ tasks:
155155
cmds:
156156
- task: go:build
157157
- go install github.com/sanbornm/go-selfupdate/...@latest
158-
# agent will search the new bin into "CreateAgent/Stable/{platform}.json" and "https://downloads.arduino.cc/CreateAgent/Stable/{version}/{platform}.gz"
158+
# NOTE: the path 'CreateAgent/Stable' is important to keep as is
159+
# because agent searches the update files into "CreateAgent/Stable/{platform}.json" and "https://downloads.arduino.cc/CreateAgent/Stable/{version}/{platform}.gz"
159160
- go-selfupdate -o public/CreateAgent/Stable ./arduino-cloud-agent {{.VERSION}}
160161
- docker rm -f agent-static-server
161162
- docker run --rm -d -v "$PWD/public:/usr/share/nginx/html:ro" -p 3000:80 --name agent-static-server nginx:alpine

0 commit comments

Comments
 (0)