fix: refactor publish command
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 13s
CI Workflow / CI (pull_request) Failing after 31s
Publish / Check GoReleaser config (pull_request) Has been skipped
CI Workflow / Code coverage report (pull_request) Has been skipped
Publish / Publish provider (pull_request) Has been skipped
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 13s
CI Workflow / CI (pull_request) Failing after 31s
Publish / Check GoReleaser config (pull_request) Has been skipped
CI Workflow / Code coverage report (pull_request) Has been skipped
Publish / Publish provider (pull_request) Has been skipped
This commit is contained in:
parent
bc35dcb726
commit
a3ddf2d5e4
1 changed files with 6 additions and 2 deletions
|
|
@ -293,8 +293,11 @@ func createTargetDirs(destPath string) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = createDir(path.Join(destPath, v))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -405,7 +408,8 @@ func createArchitectureFiles(namespace, provider, distPath, repoName, version, g
|
|||
{
|
||||
"protocols": [
|
||||
"4.0",
|
||||
"5.1"
|
||||
"5.1",
|
||||
"6.0"
|
||||
],
|
||||
"os": "%s",
|
||||
"arch": "%s",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue