Skip to content

Commit 1135d4c

Browse files
committed
Only publish pure binaries, no archives.
1 parent cbd0ea2 commit 1135d4c

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ jobs:
111111
run: |
112112
set -ex
113113
114-
rm -rf tmp
115-
mkdir tmp
116114
mkdir dist
117115
118116
for dir in bins-* ; do
@@ -122,16 +120,8 @@ jobs:
122120
exe=".exe"
123121
fi
124122
pkgname=$PROJECT_NAME-$TAG-$platform
125-
mkdir tmp/$pkgname
126-
# cp LICENSE README.md tmp/$pkgname
127-
mv bins-$platform/$BIN_NAME$exe tmp/$pkgname
128-
chmod +x tmp/$pkgname/$BIN_NAME$exe
129-
130-
if [ "$exe" = "" ]; then
131-
tar cJf dist/$pkgname.tar.xz -C tmp $pkgname
132-
else
133-
(cd tmp && 7z a -r ../dist/$pkgname.zip $pkgname)
134-
fi
123+
mv bins-$platform/$BIN_NAME$exe dist/$pkgname$exe
124+
chmod +x dist/$pkgname$exe
135125
done
136126
137127
- name: Upload binaries to release

0 commit comments

Comments
 (0)