liubao68 edited a comment on pull request #2455:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/2455#issuecomment-876207571


   
更新版本号最好是CICD的事情,一方面既可以解决代码溯源问题(发布新版本的时候,更新版本号,并且给代码打上tag,那么每个二进制发布包,都可以通过tag找到源码),另外一方面可以避免运行时更新版本号版本无序递增问题,导致注册中心服务过多的问题。
 
   
   参考: 
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html , 
可以使用 maven-resource-plugin在编译的时候,更新版本号。 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to