@@ -50,7 +50,7 @@ func main() {
50
50
51
51
// Create a temporary folder, download a URL based on a git tag in it
52
52
// and extract the zip file to the temporary folder
53
- tmpDir , err := os .MkdirTemp ("" , "sync_zephyr_artifacts " )
53
+ tmpDir , err := os .MkdirTemp ("" , "sync-zephyr-artifacts " )
54
54
if err != nil {
55
55
fmt .Println ("Error creating temp dir:" , err )
56
56
return
@@ -106,7 +106,7 @@ func main() {
106
106
if forceHash != "" {
107
107
hash = forceHash
108
108
}
109
- filename := fmt .Sprintf ("arduino-core- zephyr-llext -%s.tar.bz2" , hash )
109
+ filename := fmt .Sprintf ("ArduinoCore- zephyr-%s.tar.bz2" , hash )
110
110
url := fmt .Sprintf ("http://downloads.arduino.cc/cores/zephyr/%s" , filename )
111
111
fmt .Println ("Download URL:" , url )
112
112
// Download the zip file from the URL
@@ -134,8 +134,6 @@ func main() {
134
134
}
135
135
// Copy the content of variants folder to gitCorePath/variants
136
136
// Since CopyFS does not overwrite, before doing so remove gitCorePath/variants
137
- // TODO: make sure there's no outstanding change in gitCorePath/variants
138
- // Bail out in that case with a clear error message
139
137
err = os .RemoveAll (filepath .Join (gitCorePath , "variants" ))
140
138
if err != nil {
141
139
fmt .Println ("Error renaming variants folder:" , err )
0 commit comments