Skip to content

Commit

Permalink
(dnscontrol) Added package changelog
Browse files Browse the repository at this point in the history
issue #6
  • Loading branch information
AdmiringWorm committed Nov 22, 2017
1 parent 9778132 commit 4c0ea10
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions automatic/dnscontrol/Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Package changelog for [DnsControl](https://chocolatey.org/packages/dnscontrol)

## Version 0.2.3 (2017-11-19)
- Initial implementation of the dnscontrol chocolatey package
7 changes: 5 additions & 2 deletions automatic/dnscontrol/dnscontrol.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
[opinionated]: https://stackexchange.github.io/dnscontrol/opinions
]]></description>
<releaseNotes>This release adds two new DNS providers! We now support managing domains on Namecheap, thanks to @rbelnap (was previously just a registrar), and we have Vultr support thanks to @geek1011.
<releaseNotes>
[Software Changelog](This release adds two new DNS providers! We now support managing domains on Namecheap, thanks to @rbelnap (was previously just a registrar), and we have Vultr support thanks to @geek1011.

Everything else is mostly a few bug fixes, and some much needed documentation cleanup from @geek1011.

Expand Down Expand Up @@ -74,7 +75,9 @@ Everything else is mostly a few bug fixes, and some much needed documentation cl

- [@captncraig](https://github.com/StackExchange/dnscontrol/commits?author=captncraig)
- [@derekargueta](https://github.com/StackExchange/dnscontrol/commits?author=derekargueta)
- [@geek1011](https://github.com/StackExchange/dnscontrol/commits?author=geek1011)</releaseNotes>
- [@geek1011](https://github.com/StackExchange/dnscontrol/commits?author=geek1011))
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/dnscontrol/Changelog.md)
</releaseNotes>
</metadata>
<files>
<file src="legal\**" target="legal" />
Expand Down
5 changes: 3 additions & 2 deletions automatic/dnscontrol/update.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[CmdletBinding()]
param($IncludeStream, [switch]$Force)
Import-Module AU
Import-Module "$PSScriptRoot\..\..\scripts\au_extensions.psm1"

$releases = 'https://github.com/StackExchange/dnscontrol/releases'
$softwareName = 'dnscontrol*'
Expand All @@ -20,7 +19,9 @@ function global:au_SearchReplace {
}

function global:au_AfterUpdate {
Update-Metadata -key 'releaseNotes' -value $Latest.ReleaseNotes
Update-Changelog -useIssueTitle -createNonExistingFile
$releaseNotes = "[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/dnscontrol/Changelog.md)`n`n## Software Changelog" + $Latest.ReleaseNotes
Update-Metadata -key 'releaseNotes' -value $releaseNotes
}

function global:au_GetLatest {
Expand Down

0 comments on commit 4c0ea10

Please sign in to comment.