Skip to content

Commit cc12b54

Browse files
committed
Fix release archive
1 parent 201abaa commit cc12b54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ jobs:
141141
for dir in bins-* ; do
142142
platform=${dir#"bins-"}
143143
unset exe
144-
if [[ $platform =~ "windows" ]]; then
144+
# If platform contains "win" then append .exe to the filename
145+
if [[ "$platform" == *"win"* ]]; then
145146
exe=".exe"
146147
fi
147148
pkgname=$PROJECT_NAME-$TAG-$platform

0 commit comments

Comments
 (0)