You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(Taskfile): add a command to test autoupdate (#1033)
* feat: add demo task for local auto-update workflow of the Agent
* fix: update autoupdate demo description and improve server wait logic
* fix: remove unnecessary blank lines in Taskfile.yml
* fix: clarify the importance of the 'CreateAgent/Stable' path in update file search
Copy file name to clipboardExpand all lines: Taskfile.yml
+14
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,20 @@ tasks:
149
149
- task: go:vet
150
150
- task: go:lint
151
151
152
+
autoupdate:demo:
153
+
desc: Demo the local auto-update workflow for the Agent (for linux and mac user)
154
+
prompt: Before continuing, please make sure you’ve opened the "Open Configuration" option from the Agent menu and set the updateUrl=http://127.0.0.1:3000/
155
+
cmds:
156
+
- task: go:build
157
+
- go install github.com/sanbornm/go-selfupdate/...@latest
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"
0 commit comments