Skip to content

Commit b71cfd2

Browse files
committed
Lose the file suffix.
1 parent 3409f2e commit b71cfd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/chocolatey.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- name: Set Checksum
2828
id: checksum
2929
run: |
30-
filename="OpenChrom-${{ github.event.inputs.version }}-Lablicate-x64.zip"
31-
url="https://products.lablicate.com/openchrom/${{ github.event.inputs.version }}/openchrom-lablicate_win32.x86_64_${{ github.event.inputs.version }}.zip"
30+
filename="OpenChrom-${{ github.event.inputs.version }}-x64.zip"
31+
url="https://products.lablicate.com/openchrom/${{ github.event.inputs.version }}/openchrom_win32.x86_64_${{ github.event.inputs.version }}.zip"
3232
curl -sSL "${url}" -o "${filename}"
3333
sha256=$(cat "${filename}" | sha256sum -)
3434
sed -i "s/{SHA256CHECKSUM}/${sha256:0:64}/g" "tools/chocolateyinstall.ps1"

tools/chocolateyInstall.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
44

55
$ZipArgs = @{
66
PackageName = $env:ChocolateyPackageName
7-
url = 'https://products.lablicate.com/openchrom/1.5.0/openchrom-lablicate_win32.x86_64_1.5.0.zip'
7+
url = 'https://products.lablicate.com/openchrom/1.5.0/openchrom_win32.x86_64_1.5.0.zip'
88
checksum = '{SHA256CHECKSUM}'
99
ChecksumType = 'sha256'
1010
UnzipLocation = Join-Path (Split-Path $toolsDir) "$env:ChocolateyPackageName$env:ChocolateyPackageVersion"

0 commit comments

Comments
 (0)