chore: add .core/ build and release configs
Add go-devops build system configuration for standardised build, test, and release workflows across the Go ecosystem. Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
fd95028f2c
commit
63e4b35a9a
2 changed files with 45 additions and 0 deletions
25
.core/build.yaml
Normal file
25
.core/build.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
version: 1
|
||||
|
||||
project:
|
||||
name: go-devops
|
||||
description: DevOps tooling — build, deploy, infra
|
||||
main: ./cmd/vanity-import
|
||||
binary: vanity-import
|
||||
|
||||
build:
|
||||
cgo: false
|
||||
flags:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -s
|
||||
- -w
|
||||
|
||||
targets:
|
||||
- os: linux
|
||||
arch: amd64
|
||||
- os: linux
|
||||
arch: arm64
|
||||
- os: darwin
|
||||
arch: arm64
|
||||
- os: windows
|
||||
arch: amd64
|
||||
20
.core/release.yaml
Normal file
20
.core/release.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
version: 1
|
||||
|
||||
project:
|
||||
name: go-devops
|
||||
repository: core/go-devops
|
||||
|
||||
publishers: []
|
||||
|
||||
changelog:
|
||||
include:
|
||||
- feat
|
||||
- fix
|
||||
- perf
|
||||
- refactor
|
||||
exclude:
|
||||
- chore
|
||||
- docs
|
||||
- style
|
||||
- test
|
||||
- ci
|
||||
Loading…
Add table
Reference in a new issue