TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How we use Cake to build .NET Core apps and version assemblies – Stackify

2 pointsby spo81rtyover 8 years ago

1 comment

flukusover 8 years ago
Seems over complicated, here is the same thing with make and older csc tasks (taken from my blog here: <a href="http:&#x2F;&#x2F;flukus.github.io&#x2F;2016&#x2F;11&#x2F;30&#x2F;2016_11_30_Rediscovering-Make&#x2F;" rel="nofollow">http:&#x2F;&#x2F;flukus.github.io&#x2F;2016&#x2F;11&#x2F;30&#x2F;2016_11_30_Rediscovering-...</a>):<p><pre><code> Version ?= 2.0.0.1 $(version): $(init) sed s&#x27;&#x2F;$${Version}&#x2F;$(Version)&#x2F;g&#x27; src&#x2F;Version.template.cs &gt; build&#x2F;Version.cs </code></pre> Not to mention it&#x27;s doing a lot of other things I would call anti-patterns, like running differently if it&#x27;s on the CI server (&quot;if(bambooRelease)&quot;) and checking in build artifacts.