1 Star 0 Fork 22

flashpig8014 / Bytebase

forked from Gitee 极速下载 / Bytebase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.goreleaser-for-darwin.yaml 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
Danny Xu 提交于 2022-09-06 10:38 . chore: upgrade to go 1.19 (#2532)
before:
hooks:
- go mod tidy
builds:
- id: server
main: ./bin/server
binary: bytebase
ldflags:
- -w -s
- -X github.com/bytebase/bytebase/bin/server/cmd.version={{.Version}}
- -X github.com/bytebase/bytebase/bin/server/cmd.goversion=${GO_VERSION}
- -X github.com/bytebase/bytebase/bin/server/cmd.gitcommit={{.Commit}}
- -X github.com/bytebase/bytebase/bin/server/cmd.buildtime={{.Timestamp}}
- -X github.com/bytebase/bytebase/bin/server/cmd.builduser=goreleaser
tags:
- release
- embed_frontend
env:
- VERSION="development"
- GO_VERSION="1.19"
- CGO_ENABLED=1
- GIT_COMMIT="unknown"
- BUILD_TIME="unknown"
- BUILD_USER="unknown"
goos:
- darwin
goarch:
- amd64
- arm64
- id: cli
main: ./bin/bb
binary: bb
ldflags:
- -w -s
- -X github.com/bytebase/bytebase/bin/bb/cmd.version={{.Version}}
- -X github.com/bytebase/bytebase/bin/bb/cmd.goversion=${GO_VERSION}
- -X github.com/bytebase/bytebase/bin/bb/cmd.gitcommit={{.Commit}}
- -X github.com/bytebase/bytebase/bin/bb/cmd.buildtime={{.Timestamp}}
- -X github.com/bytebase/bytebase/bin/bb/cmd.builduser=goreleaser
tags:
- release
env:
- VERSION="development"
- GO_VERSION="1.19"
- CGO_ENABLED=1
- GIT_COMMIT="unknown"
- BUILD_TIME="unknown"
- BUILD_USER="unknown"
goos:
- darwin
goarch:
- amd64
- arm64
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
snapshot:
name_template: "{{ incpatch .Version }}-next"
1
https://gitee.com/flashpig8014/Bytebase.git
git@gitee.com:flashpig8014/Bytebase.git
flashpig8014
Bytebase
Bytebase
main

搜索帮助