File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ jobs:
129129 run : |
130130 $ErrorActionPreference = 'Stop'
131131 gh release view "$env:RELEASE_TAG" | Out-Null
132- $files = Get-ChildItem -Path release/desktop -File | ForEach-Object { $_.FullName }
132+ $files = Get-ChildItem -Path release/desktop -File | Where-Object {
133+ $_.Name -match '^1shell-desktop-.*\.(exe|zip|dmg|AppImage)$' -or
134+ $_.Name -match '^1shell-desktop-.*\.tar\.gz$'
135+ } | ForEach-Object { $_.FullName }
133136 if (-not $files) { throw 'No desktop release files found.' }
134137 gh release upload "$env:RELEASE_TAG" @files --clobber
Original file line number Diff line number Diff line change 7878 " package.json"
7979 ],
8080 "win" : {
81+ "artifactName" : " 1shell-desktop-${version}-windows-${arch}.${ext}" ,
8182 "target" : [
8283 " nsis" ,
8384 " zip"
8485 ]
8586 },
8687 "nsis" : {
88+ "artifactName" : " 1shell-desktop-${version}-windows-${arch}-setup.${ext}" ,
8789 "oneClick" : false ,
8890 "perMachine" : false ,
8991 "allowToChangeInstallationDirectory" : true
9092 },
9193 "mac" : {
94+ "artifactName" : " 1shell-desktop-${version}-macos-${arch}.${ext}" ,
9295 "target" : [
9396 " dmg" ,
9497 " zip"
9598 ],
9699 "category" : " public.app-category.utilities"
97100 },
98101 "linux" : {
102+ "artifactName" : " 1shell-desktop-${version}-linux-${arch}.${ext}" ,
99103 "target" : [
100104 " AppImage" ,
101105 " tar.gz"
You can’t perform that action at this time.
0 commit comments