赞
踩
git 哈希值作为版本号
A few months back I moved my CI/CD (Continuous Integration/Continuous Development) to Azure DevOps for free. You get 1800 build minutes a month FREE and I'm not even close to using it with three occasionally-updated sites building on it. Earlier this week I wrote about making a cleaner and more intentional azure-pipelines.yml for an ASP.NET Core Web App
几个月前,我免费将CI / CD(连续集成/连续开发)迁移到Azure DevOps 。 您每月可以免费获得1800个构建分钟,并且我甚至无法将其与三个偶尔更新的站点一起使用。 本周早些时候,我写了一篇关于为ASP.NET Core Web App制作更简洁,更有目的的azure-pipelines.yml的文章。
I was working/pairing with Damian today because I wanted to get my git commit hashes and build ids embedded into the actual website so I could see exactly what commit is in production.
我今天与Damian合作/配对是因为我想获取git commit哈希并将构建的id嵌入到实际网站中,以便我可以确切地看到生产中的提交。
That's live on hanselminutes.com righ tnow and looks like this
那是在hanselminutes.com上直播的,看起来像这样
© Copyright 2020, Scott Hanselman. Design by @jzy, Powered by .NET Core 3.1.2 and deployed from commit 6b48de via build 20200310.7
©版权所有2020, Scott Hanselman 。 由@jzy设计,由.NET Core 3.1.2支持,并通过build 20200310.7从commit 6b48de进行部署
There's a few things here and it's all in my ASP.NET Web App's main layout page called _layout.cshtml. You can look all about ASP.NET Core 101, .NET and C# over at https://dot.net/videos if you'd like. They've lovely videos.
这里有几件事,所有这些都在我的ASP.NET Web App的主要布局页面_layo
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。