You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
djyweb_ams/ams/Djy.Common/打包到nuget和自定义nuget.txt

15 lines
565 B
Plaintext

docker 部署自己nuget服务器
docker run -d -p 5090:80 -e NUGET_API_KEY=oy2m746thp4n7jocp7oabbxwkqyixvbuhn7fm4ybiogtwy -v /userdata/nuget/database:/var/www/db -v /userdata/nuget/packages:/var/www/packagefiles --name nugetserver sunside/simple-nuget-server:latest
推送包
nuget push -Source http://eservice.myshipping.net:5090 -ApiKey oy2m746thp4n7jocp7oabbxwkqyixvbuhn7fm4ybiogtwy Common.1.1.0.nupkg
--推送到官方
nuget push -ApiKey oy2m746thp4n7jocp7oabbxwkqyixvbuhn7fm4ybiogtwy Common.1.1.10.nupkg -Source https://api.nuget.org/v3/index.json