sonatype nexus 3的工件上传工具
snaut的Python项目详细描述
圈套
sonatype nexus 3的工件上传工具
替代curl -X POST -u user:pwd -F "pypi.asset=@mypackage.whl" ...
支持的资产类型:pypi
,rubygems
,nuget
,npm
安装
pip install snaut
用法
snaut --help
snaut -r http://host/service/rest/v1/components?repository=myrepo -a pypi mypackage.whl
环境变量或.env
文件在您的ci/cd管道中很有用:
- snaut_回购
- snaut_资产
- snaut_目录
- snaut_用户名
- snaut_密码
- 罗嗦
- snaut_超时
- snaut_no_verify
示例:
python setup.py sdist bdist_wheel
snaut dist/*
原始资产类型:
snaut -d /mypath dist/*
snaut -d / myfile.zip