Skip to content

Commit d1c93fe

Browse files
committed
Merge branch 'master' of github.com:pauby/chocopackages
* 'master' of github.com:pauby/chocopackages: Fix Yubico PIV tool update script Fix Yubico Authenticator update script mysql-connector: fix file encoding (use UTF-8) sublimetext3: fix softwareName to not conflict with sublimetext4
2 parents b2c7225 + 37cad91 commit d1c93fe

File tree

5 files changed

+7
-18
lines changed

5 files changed

+7
-18
lines changed
-1.12 KB
Binary file not shown.
-1.18 KB
Binary file not shown.

automatic/yubico-authenticator/update.ps1

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $repoName = 'yubioath-flutter'
88
function global:au_SearchReplace {
99
@{
1010
"$($Latest.PackageName).nuspec" = @{
11-
"(\<releaseNotes\>).*?(\</releaseNotes\>)" = "`${1}$([System.Web.HttpUtility]::HtmlEncode($Latest.ReleaseNotes))`$2"
11+
"(\<releaseNotes\>).*?(\<\/releaseNotes\>)" = "`${1}$($Latest.ReleaseNotes)`$2"
1212
}
1313
".\tools\chocolateyInstall.ps1" = @{
1414
'(^\s*\$installerFile\s*=\s*)(''.*'')' = "`$1'$($Latest.Asset64.name)'"
@@ -49,19 +49,13 @@ function global:au_GetLatest {
4949
# we haven't found a match
5050
exit
5151
}
52-
$releaseNotes = if ([string]::IsNullOrEmpty($release.body)) {
53-
$release.html_url
54-
}
55-
else {
56-
$release.body
57-
}
5852

5953
return @{
6054
Asset64 = $asset64
6155
URL64 = $asset64.browser_download_url
6256
Version = $version
63-
ReleaseNotes = $releaseNotes
57+
ReleaseNotes = $release.html_url
6458
}
6559
}
6660

67-
Update-Package -ChecksumFor none
61+
Update-Package -ChecksumFor none

automatic/yubico-authenticator/yubico-authenticator.nuspec

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,7 @@ The Yubico Authenticator securely generates a code used to verify your identity
4545

4646
**NOTE**: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.
4747
</description>
48-
<releaseNotes>* Complete redesign of the UI using Flutter.
49-
* Add support for Android.
50-
* Add native ARM support for MacOS.
51-
* Add in-app elevation to Administrator for FIDO on Windows.
52-
53-
Available in [macOS App Store](https://apps.apple.com/us/app/yubico-authenticator/id1497506650?ls=1), [Microsoft Store](https://www.microsoft.com/en-us/p/yubico-authenticator/9nfng39387k0?activetab=pivot:overviewtab) and [Play Store](https://play.google.com/store/apps/details?id=com.yubico.yubioath)</releaseNotes>
48+
<releaseNotes>https://github.com/Yubico/yubioath-flutter/releases/tag/6.0.0</releaseNotes>
5449
<!--<dependencies> -->
5550
<!-- <dependency id="KB2919355" version="1.0.20160915" /> -->
5651
<!-- <dependency id="" version="[_MIN_VERSION_INCLUSIVE, MAX_VERSION_INCLUSIVE]" /> -->

automatic/yubico-piv-tool/update.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ $hashAlgorithm = 'SHA256'
88
function global:au_SearchReplace {
99
@{
1010
".\tools\chocolateyInstall.ps1" = @{
11-
'(^\s*file\s*=\s*)(''.*'')' = "`$1""`$toolsDir\$($Latest.File)"""
12-
'(^\s*file64\s*=\s*)(''.*'')' = "`$1""`$toolsDir\$($Latest.File64)"""
11+
'(^\s*file\s*=\s*)(".*")' = "`$1""`$toolsDir\$($Latest.File)"""
12+
'(^\s*file64\s*=\s*)(".*")' = "`$1""`$toolsDir\$($Latest.File64)"""
1313
# "(?i)(^\s*checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
1414
# "(?i)(^\s*checksumType\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'"
1515
}
@@ -61,4 +61,4 @@ function global:au_GetLatest {
6161
}
6262
}
6363

64-
Update-Package -ChecksumFor none
64+
Update-Package -ChecksumFor none

0 commit comments

Comments
 (0)