Skip to content

Commit 2c62c9f

Browse files
committed
Update for 1.5.X series.
1 parent c27bc5c commit 2c62c9f

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/chocolatey.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Update Chocolatey
33
on:
44
workflow_dispatch:
55
inputs:
6-
tag:
7-
description: 'Version + Date'
6+
version:
7+
description: 'Version'
88
required: true
9-
default: 1.5.0.XXXXXXXX
9+
default: 1.5.X
1010

1111
permissions:
1212
contents: read
@@ -27,19 +27,17 @@ jobs:
2727
- name: Set Checksum
2828
id: checksum
2929
run: |
30-
filename="OpenChrom-${{ github.event.inputs.tag }}-Lablicate-x64.zip"
31-
url="https://products.lablicate.com/openchrom/1.5.0/openchrom-lablicate_win32.x86_64_1.5.0.zip"
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"
3232
curl -sSL "${url}" -o "${filename}"
3333
sha256=$(cat "${filename}" | sha256sum -)
3434
sed -i "s/{SHA256CHECKSUM}/${sha256:0:64}/g" "tools/chocolateyinstall.ps1"
3535
3636
- name: Set Version
3737
id: version
3838
run: |
39-
tag=${{ github.event.inputs.tag }}
40-
version="${tag:0:14}"
41-
echo "nuget=$version" >> $GITHUB_OUTPUT
42-
sed -i "s/{VERSION}/${version}/g" "openchrom.nuspec"
39+
echo "nuget=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
40+
sed -i "s/{VERSION}/${{ github.event.inputs.version }}/g" "openchrom.nuspec"
4341
4442
- name: Pack Release
4543
run: |

openchrom.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<authors>Lablicate</authors>
1313
<projectUrl>https://openchrom.net/</projectUrl>
1414
<iconUrl>https://avatars.githubusercontent.com/u/13414212</iconUrl>
15-
<copyright>Copyright © 2022 Lablicate GmbH</copyright>
15+
<copyright>Copyright © 2025 Lablicate GmbH</copyright>
1616
<licenseUrl>https://github.com/OpenChrom/openchrom/blob/develop/LICENSE</licenseUrl>
1717
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1818
<projectSourceUrl>https://github.com/OpenChrom/openchrom</projectSourceUrl>

0 commit comments

Comments
 (0)