File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ name: Update Chocolatey
33on :
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
1111permissions :
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 : |
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments