You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
project_name: mcp-go-db
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- arm64
|
|
id: "default" # 需要明确指定 id 供后续引用
|
|
|
|
nfpms:
|
|
- id: mcp-go-db
|
|
package_name: mcp-go-db
|
|
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
vendor: "Viviman"
|
|
homepage: "https://github.com/vivimanZhang/mcp-go-db"
|
|
maintainer: "vivib@foxmail.com"
|
|
description: "MCP-数据库小工具"
|
|
license: "MIT"
|
|
formats:
|
|
- deb
|
|
replaces:
|
|
- old-package-name
|
|
contents:
|
|
# 主程序安装到 /opt/mcp-go-db/mcp-go-db
|
|
- src: dist/default_linux_arm64/mcp-go-db
|
|
dst: /opt/apps/mcp-go-db/mcp-go-db
|
|
file_info:
|
|
mode: 0755
|
|
# 配置文件安装到 /opt/apps/mcp-go-db/config.yaml
|
|
- src: config.yaml
|
|
dst: /opt/apps/mcp-go-db/config.yaml
|
|
type: config|noreplace # 标记为配置文件,升级时不会覆盖
|
|
file_info:
|
|
mode: 0644
|
|
|
|
|
|
release:
|
|
github:
|
|
owner: vivimanZhang
|
|
name: mcp-go-db
|