fix: refactor publish command #11
1 changed files with 6 additions and 2 deletions
|
|
@ -293,8 +293,11 @@ func createTargetDirs(destPath string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
err = createDir(path.Join(destPath, v))
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -405,7 +408,8 @@ func createArchitectureFiles(namespace, provider, distPath, repoName, version, g
|
||||||
{
|
{
|
||||||
"protocols": [
|
"protocols": [
|
||||||
"4.0",
|
"4.0",
|
||||||
"5.1"
|
"5.1",
|
||||||
|
"6.0"
|
||||||
],
|
],
|
||||||
"os": "%s",
|
"os": "%s",
|
||||||
"arch": "%s",
|
"arch": "%s",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue