1 Star 0 Fork 22

千里不留行 / Bytebase

forked from Gitee 极速下载 / Bytebase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.goreleaser.yaml 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
qsliu 提交于 2022-04-03 15:09 . chore: modify github release page (#1008)
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
env:
- VERSION="development"
- GO_VERSION="1.16.5"
- GIT_COMMIT="unknown"
- BUILD_TIME="unknown"
- BUILD_USER="unknown"
goos:
- linux
- 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.16.5"
- GIT_COMMIT="unknown"
- BUILD_TIME="unknown"
- BUILD_USER="unknown"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
draft: true
name_template: "Release {{.Tag}}"
header: |
# What's Changed
## 🚀 Features
## 🎄 Enhancements
## 🎠 Community
## New Contributors
**Full Changelog**:
1
https://gitee.com/Qian-libuliuxing/Bytebase.git
git@gitee.com:Qian-libuliuxing/Bytebase.git
Qian-libuliuxing
Bytebase
Bytebase
main

搜索帮助