Skip to content

Commit d68cb5c

Browse files
Merge pull request #1085 from GitGuardian/jgriffe/add-choco-package-icon
Jgriffe/add choco package icon
2 parents 67aec49 + 296cc55 commit d68cb5c

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

scripts/push-to-chocolatey/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Push to Chocolatey
2+
3+
This folder contains everything necessary to build and publish the chocolatey package.
4+
5+
The icon is not included in the package, but instead it is served through a static CDN and its url is in the iconUrl tag in the .nuspec.
6+
7+
The CDN used is [statically](https://statically.io/docs/using-staticzap/).

scripts/push-to-chocolatey/ggshield.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>GGShield</title>
88
<authors>GitGuardian</authors>
99
<projectUrl>https://github.com/GitGuardian/ggshield</projectUrl>
10-
<iconUrl>https://avatars.githubusercontent.com/u/27360172</iconUrl>
10+
<iconUrl>https://cdn.statically.io/gh/GitGuardian/ggshield/a48dd4be/scripts/push-to-chocolatey/icon.png</iconUrl>
1111
<licenseUrl>https://raw.githubusercontent.com/GitGuardian/ggshield/refs/heads/main/LICENSE</licenseUrl>
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<projectSourceUrl>https://github.com/GitGuardian/ggshield</projectSourceUrl>

scripts/push-to-chocolatey/icon.png

30.4 KB
Loading

scripts/push-to-chocolatey/push-to-chocolatey

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ mv packages/*/_internal ggshield-package/tools
2727
mv packages/*/ggshield.exe ggshield-package/tools
2828
cp scripts/push-to-chocolatey/ggshield.nuspec ggshield-package
2929
cp scripts/push-to-chocolatey/VERIFICATION.txt ggshield-package/tools
30+
cp LICENSE ggshield-package/tools
3031
sed -i "s/__VERSION__/$version/" ggshield-package/ggshield.nuspec
3132

3233
cd ggshield-package

0 commit comments

Comments
 (0)