<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Know exactly what you&#8217;ve deployed with Git, TeamCity and Octopus	</title>
	<atom:link href="https://www.cognim.co.uk/know-exactly-what-youve-released-with-git-teamcity-and-octopus/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cognim.co.uk/know-exactly-what-youve-released-with-git-teamcity-and-octopus/</link>
	<description>Enterprise system implementation. Making the complex simple</description>
	<lastBuildDate>Thu, 28 Apr 2016 09:21:33 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Edward Ridge		</title>
		<link>https://www.cognim.co.uk/know-exactly-what-youve-released-with-git-teamcity-and-octopus/#comment-195</link>

		<dc:creator><![CDATA[Edward Ridge]]></dc:creator>
		<pubDate>Thu, 28 Apr 2016 09:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.cognim.co.uk/?p=4953#comment-195</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.cognim.co.uk/know-exactly-what-youve-released-with-git-teamcity-and-octopus/#comment-190&quot;&gt;Erik Eckhardt&lt;/a&gt;.

Thanks Erik, I really like the temp file idea, very clean.

I&#039;ve toyed with the idea of generating a changelog of commits between releases, but it feels to me like it would have to be done at &lt;i&gt;deploy&lt;/i&gt; time rather than build time - you could have multiple builds that get deployed (e.g. to test environments) between actual releases to production, and a change log would need to take into account all of them. It&#039;s something I&#039;ll try to follow up with a blog on.

Thanks for the comment!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.cognim.co.uk/know-exactly-what-youve-released-with-git-teamcity-and-octopus/#comment-190">Erik Eckhardt</a>.</p>
<p>Thanks Erik, I really like the temp file idea, very clean.</p>
<p>I&#8217;ve toyed with the idea of generating a changelog of commits between releases, but it feels to me like it would have to be done at <i>deploy</i> time rather than build time &#8211; you could have multiple builds that get deployed (e.g. to test environments) between actual releases to production, and a change log would need to take into account all of them. It&#8217;s something I&#8217;ll try to follow up with a blog on.</p>
<p>Thanks for the comment!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Erik Eckhardt		</title>
		<link>https://www.cognim.co.uk/know-exactly-what-youve-released-with-git-teamcity-and-octopus/#comment-190</link>

		<dc:creator><![CDATA[Erik Eckhardt]]></dc:creator>
		<pubDate>Tue, 12 Apr 2016 23:41:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.cognim.co.uk/?p=4953#comment-190</guid>

					<description><![CDATA[You don&#039;t have to create a solution or project file. All you need is to create the file in the temp build directory. For example, instead of outputting to &quot;.\ReleaseNotes.txt&quot;, you can output to &lt;code&gt;&quot;%system.teamcity.build.tempDir%\releasenotesfile_%teamcity.build.id%.txt&quot;.&lt;/code&gt;

Then, in your build step, use the parameter: &lt;code&gt;/p:OctoPackReleaseNotesFile=%system.teamcity.build.tempDir%\releasenotesfile_%teamcity.build.id%.txt&lt;/code&gt;

However, doing all this means that each package you deploy will have its own copy of the build steps, and the release itself won&#039;t have the release notes (this is a drawback because the Overview page only shows the release-level release notes, not any package-level release notes, at least with more than one package as I can&#039;t confirm what happens with one package).

Furthermore, see &lt;a href=&quot;http://open.bekk.no/generating-a-project-change-log-with-teamcity-and-powershell&quot; rel=&quot;nofollow&quot;&gt;Generating a project change log with TeamCity and Powershell&lt;/a&gt; for a script that makes a much grander set of release notes, including all commits since the last build (or release? not sure). I souped it up to include the commit sha, with a link back to the source control web site&#039;s commit page. I also plan to update the script to add links to anything that looks like a case reference back to my project management software. And finally, I plan to use the committer&#039;s user name when TeamCity hasn&#039;t yet been told which TeamCity user that committer actually is (do this in your user profile).

Last, if you accept building a new release every time you build, then add a TeamCity step, &quot;OctopusDeploy: create release&quot;, and in the additional command line arguments, put

&lt;code&gt;--releasenotesfile=&quot;%system.teamcity.build.tempDir%\releasenotesfile_%teamcity.build.id%.txt&quot;&lt;/code&gt;

This makes the Overview page in Octopus awesome!]]></description>
			<content:encoded><![CDATA[<p>You don&#8217;t have to create a solution or project file. All you need is to create the file in the temp build directory. For example, instead of outputting to &#8220;.\ReleaseNotes.txt&#8221;, you can output to <code>"%system.teamcity.build.tempDir%\releasenotesfile_%teamcity.build.id%.txt".</code></p>
<p>Then, in your build step, use the parameter: <code>/p:OctoPackReleaseNotesFile=%system.teamcity.build.tempDir%\releasenotesfile_%teamcity.build.id%.txt</code></p>
<p>However, doing all this means that each package you deploy will have its own copy of the build steps, and the release itself won&#8217;t have the release notes (this is a drawback because the Overview page only shows the release-level release notes, not any package-level release notes, at least with more than one package as I can&#8217;t confirm what happens with one package).</p>
<p>Furthermore, see <a href="http://open.bekk.no/generating-a-project-change-log-with-teamcity-and-powershell" rel="nofollow">Generating a project change log with TeamCity and Powershell</a> for a script that makes a much grander set of release notes, including all commits since the last build (or release? not sure). I souped it up to include the commit sha, with a link back to the source control web site&#8217;s commit page. I also plan to update the script to add links to anything that looks like a case reference back to my project management software. And finally, I plan to use the committer&#8217;s user name when TeamCity hasn&#8217;t yet been told which TeamCity user that committer actually is (do this in your user profile).</p>
<p>Last, if you accept building a new release every time you build, then add a TeamCity step, &#8220;OctopusDeploy: create release&#8221;, and in the additional command line arguments, put</p>
<p><code>--releasenotesfile="%system.teamcity.build.tempDir%\releasenotesfile_%teamcity.build.id%.txt"</code></p>
<p>This makes the Overview page in Octopus awesome!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
