mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-04 23:40:24 +08:00
fix dist
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -39,7 +39,9 @@ jobs:
|
||||
npm install pnpm -g
|
||||
cd frontend/vben
|
||||
pnpm i
|
||||
go generate main.go
|
||||
npm run build
|
||||
ls dist
|
||||
zip -9 -r -D dist.zip dist -x "dist/.DS_Store" "dist/*/.DS_Store"
|
||||
|
||||
- name: Build linux-x64
|
||||
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -trimpath -o artifacts/paper-manager-linux-x64
|
||||
|
||||
@@ -8,10 +8,6 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
//go:generate npm run build
|
||||
|
||||
//go:generate zip -9 -r -D dist.zip dist/* -x "dist/.DS_Store" "dist/*/.DS_Store"
|
||||
|
||||
//go:embed dist.zip
|
||||
var distzipbytes []byte
|
||||
|
||||
|
||||
Reference in New Issue
Block a user