diff --git a/release/windows/choco/sqlcmd.nuspec b/release/windows/choco/sqlcmd.nuspec index eb07fcb2..65e4df8c 100644 --- a/release/windows/choco/sqlcmd.nuspec +++ b/release/windows/choco/sqlcmd.nuspec @@ -3,11 +3,11 @@ sqlcmd - 0.8.1 + 1.6.0 sqlcmd (Install) Microsoft + stuartpa https://docs.microsoft.com/sql/tools/go-sqlcmd-utility - https://github.com/microsoft/go-sqlcmd/blob/main/release/windows/msi/resources/go-sqlcmd_256.png Copyright (c) Microsoft Corporation https://github.com/microsoft/go-sqlcmd/blob/main/LICENSE false @@ -18,7 +18,7 @@ sqlcmd mssql sqlserver sqlcmd CLI for Microsoft SQL Server and Azure SQL sqlcmd is a multi-platform command line experience for Microsoft SQL Server and Azure SQL - https://github.com/microsoft/go-sqlcmd/releases/tag/v0.8.1 + https://github.com/microsoft/go-sqlcmd/releases/tag/v1.6.0 diff --git a/release/windows/choco/tools/LICENSE.txt b/release/windows/choco/tools/LICENSE.txt deleted file mode 100644 index 9b20e534..00000000 --- a/release/windows/choco/tools/LICENSE.txt +++ /dev/null @@ -1,25 +0,0 @@ -From: https://github.com/microsoft/go-sqlcmd/blob/main/LICENSE - -LICENSE - -MIT License - -Copyright (c) Microsoft Corporation. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE diff --git a/release/windows/choco/tools/VERIFICATION.txt b/release/windows/choco/tools/VERIFICATION.txt deleted file mode 100644 index 7a1a6530..00000000 --- a/release/windows/choco/tools/VERIFICATION.txt +++ /dev/null @@ -1,10 +0,0 @@ -VERIFICATION -Verification is intended to assist the Chocolatey moderators and community -in verifying that this package's contents are trustworthy. - -Download .msi from Microsoft Download Center -https://download.microsoft.com/download/d/4/4/d4403a51-2ab7-4ea8-b850-d2710c5e1323/sqlcmd_0.8.1-1.msi - -Run checksum -t sha256 -f sqlcmd_0.8.1-1.msi - -We are the software vendor (Microsoft) \ No newline at end of file diff --git a/release/windows/choco/tools/chocolateyinstall.ps1 b/release/windows/choco/tools/chocolateyinstall.ps1 index 168fa5ff..4522c3c2 100644 --- a/release/windows/choco/tools/chocolateyinstall.ps1 +++ b/release/windows/choco/tools/chocolateyinstall.ps1 @@ -1,21 +1,15 @@ $ErrorActionPreference = 'Stop'; $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$url = '{{DownloadUrl}}' -$url64 = 'https://download.microsoft.com/download/d/4/4/d4403a51-2ab7-4ea8-b850-d2710c5e1323/sqlcmd_0.8.1-1.msi' +$url64 = 'https://github.com/microsoft/go-sqlcmd/releases/download/v1.6.0/sqlcmd-x64_1.6.0-1.msi' $packageArgs = @{ packageName = $env:ChocolateyPackageName unzipLocation = $toolsDir fileType = 'MSI' - url = $url url64bit = $url64 - softwareName = 'sqlcmd*' - - checksum = '{{Checksum}}' - checksumType = '{{ChecksumType}}' - checksum64 = '03587762932D5A66ACFE15D306FE14645D53BC61162B4DA0D9AF29B4A8A1550D' + checksum64 = '89599bcfa6dce0a81975353b67a250f0072ec5aed45e73039d8c85874d7e2d85' checksumType64= 'sha256' silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""