Files
tldr/pages.zh/windows/choco-push.md

12 lines
455 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# choco-push
> 将已编译的 NuGet 包(`nupkg`)推送到包源。
> 更多信息:<https://docs.chocolatey.org/en-us/create/commands/push>。
- 将已编译的 `nupkg` 推送到指定的源:
`choco push --source {{https://push.chocolatey.org/}}`
- 将已编译的 `nupkg` 推送到指定的源,并设置超时时间(单位:秒,默认值为 2700
`choco push --source {{https://push.chocolatey.org/}} --execution-timeout {{500}}`