[英]How check automatically if there is an update on a package in my local nuget server with the same version
In my company we work on the same app from different teams. 在我的公司中,我们使用不同团队的同一个应用程序。
Background 背景
xyz
to xyz+1
inside project-name
.nuspec file and also inside each project's
packages.config` file using this package. project-name
.nuspec file and also inside each project's
使用此软件包的file and also inside each project's
packages.config`文件中,将版本号从xyz
增加到xyz+1
。 Questions 问题
What is the best way to increase the version number in project-name
.nuspec file and also in each project's
packages.config` file using this package after pushing to Git-TFS? 在推送到Git-TFS之后,使用此软件包在
project-name
.nuspec file and also in each project's
packages.config`文件中增加版本号的最佳方法是什么? Is there a better way to accomplish my goal? 有没有更好的方法可以实现我的目标?
How do I make each project check for update in a specific packages update in the build process? 如何在构建过程中使每个项目检查特定软件包中的更新?
1) This is a little dated, but here's an implementation of auto incrementing http://digitaldrummerj.me/Nuget-Auto-Incrementing-Version/ 1)这有点过时了,但这是自动递增的实现http://digitaldrummerj.me/Nuget-Auto-Incrementing-Version/
2) Getting the packages to auto-update for you would be a bit trickier, at that point, I would argue that the teams should have some level of communication that they released a new package and what changed 2)让软件包自动更新会比较棘手,在那一点上,我认为团队应该进行一定程度的沟通,以确保他们发布了新软件包并进行了更改
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.