Skip to content

Commit

Permalink
(tablacus) Added changelog for package
Browse files Browse the repository at this point in the history
ref #6
  • Loading branch information
AdmiringWorm committed Jan 7, 2018
1 parent e62b5d0 commit c66ded9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions automatic/tablacus/Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# ![Tablacus Explorer Changelog](https://img.shields.io/badge/Tablacus%20Explorer-Package%20Changelog-blue.svg?style=for-the-badge)

## Version 17.6.5 (2017-06-09)
- Initial implementation of the tablacus chocolatey package
5 changes: 4 additions & 1 deletion automatic/tablacus/tablacus.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
- [Open source](https://github.com/tablacus/TablacusExplorer)
- 64-bit(TE64.exe/x64 Edition) and 32-bit(TE32.exe/x86 Edition) versions are available
]]></description>
<releaseNotes>http://www.eonet.ne.jp/~gakana/tablacus/history/</releaseNotes>
<releaseNotes>
[Software Changelog](http://www.eonet.ne.jp/~gakana/tablacus/history/)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/tablacus/Changelog.md)
</releaseNotes>
</metadata>
<files>
<file src="legal\**" target="legal" />
Expand Down
11 changes: 6 additions & 5 deletions automatic/tablacus/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ $releasesPart = 'http://www.eonet.ne.jp/~gakana/tablacus/'
$releases = "${releasesPart}explorer_en.html"

function global:au_BeforeUpdate { Get-RemoteFiles -Purge -NoSuffix }
function glboal:au_AfterUpdate { Update-Changelog -useIssueTitle }

function global:au_SearchReplace {
@{
".\legal\VERIFICATION.txt" = @{
".\legal\VERIFICATION.txt" = @{
"(?i)(^\s*location on\:?\s*)\<.*\>" = "`${1}<$releases>"
"(?i)(\s*1\..+)\<.*\>" = "`${1}<$($Latest.URL32)>"
"(?i)(^\s*checksum\s*type\:).*" = "`${1} $($Latest.ChecksumType32)"
"(?i)(^\s*checksum(32)?\:).*" = "`${1} $($Latest.Checksum32)"
"(?i)(\s*1\..+)\<.*\>" = "`${1}<$($Latest.URL32)>"
"(?i)(^\s*checksum\s*type\:).*" = "`${1} $($Latest.ChecksumType32)"
"(?i)(^\s*checksum(32)?\:).*" = "`${1} $($Latest.Checksum32)"
}
".\tools\chocolateyInstall.ps1" = @{
"(?i)(^\s*file\s*=\s*`"[$]toolsPath\\).*" = "`${1}$($Latest.FileName32)`""
Expand All @@ -30,7 +31,7 @@ function global:au_GetLatest {
$download_page.Content -match $verRe | Out-Null
if ($Matches) { $version32 = $Matches[1] }
@{
URL32 = $url32
URL32 = $url32
Version = $version32
}
}
Expand Down

0 comments on commit c66ded9

Please sign in to comment.