mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-05 16:15:43 +00:00
ci: fix web build name
This commit is contained in:
1 parent
cf60e5a60a
commit
56561ba764
1 file changed
+2
-1
@@ -201,7 +201,8 @@ jobs:
|
||||
dir="dist/gopeed-$VERSION-$goos-$goarch/"
|
||||
(GOOS=$goos GOARCH=$goarch go build -tags nosqlite,web -ldflags="-s -w" -o $dir github.com/monkeyWie/gopeed/cmd/web \
|
||||
&& cd $dir \
|
||||
&& rename 's/^web/gopeed/' * \
|
||||
&& file=$(ls -AU | head -1) \
|
||||
&& mv $file $(echo $file | sed -e "s/web/gopeed/g") \
|
||||
&& zip -r ../zip/gopeed-web-$VERSION-$goos-$goarch.zip * \
|
||||
&& cd ../..) \
|
||||
|| true
|
||||
|
||||
Reference in new issue
Block a user