chore: add build and release config files
- .core/build.yaml - cross-platform build configuration - .core/release.yaml - release workflow configuration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
e084ccbd51
commit
cbd8ea87df
2 changed files with 71 additions and 0 deletions
32
.core/build.yaml
Normal file
32
.core/build.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Core CLI build configuration
|
||||||
|
# Used by: core build
|
||||||
|
|
||||||
|
version: 1
|
||||||
|
|
||||||
|
project:
|
||||||
|
name: core
|
||||||
|
description: Host UK Core CLI
|
||||||
|
main: "."
|
||||||
|
binary: core
|
||||||
|
|
||||||
|
build:
|
||||||
|
cgo: false
|
||||||
|
flags:
|
||||||
|
- -trimpath
|
||||||
|
ldflags:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
- -X main.Version={{.Version}}
|
||||||
|
env: []
|
||||||
|
|
||||||
|
targets:
|
||||||
|
- os: linux
|
||||||
|
arch: amd64
|
||||||
|
- os: linux
|
||||||
|
arch: arm64
|
||||||
|
- os: darwin
|
||||||
|
arch: amd64
|
||||||
|
- os: darwin
|
||||||
|
arch: arm64
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
39
.core/release.yaml
Normal file
39
.core/release.yaml
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
# Core CLI release configuration
|
||||||
|
# Used by: core release
|
||||||
|
|
||||||
|
version: 1
|
||||||
|
|
||||||
|
project:
|
||||||
|
name: core
|
||||||
|
repository: host-uk/core
|
||||||
|
|
||||||
|
build:
|
||||||
|
targets:
|
||||||
|
- os: linux
|
||||||
|
arch: amd64
|
||||||
|
- os: linux
|
||||||
|
arch: arm64
|
||||||
|
- os: darwin
|
||||||
|
arch: amd64
|
||||||
|
- os: darwin
|
||||||
|
arch: arm64
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
publishers:
|
||||||
|
- type: github
|
||||||
|
prerelease: false
|
||||||
|
draft: false
|
||||||
|
|
||||||
|
changelog:
|
||||||
|
include:
|
||||||
|
- feat
|
||||||
|
- fix
|
||||||
|
- perf
|
||||||
|
- refactor
|
||||||
|
exclude:
|
||||||
|
- chore
|
||||||
|
- docs
|
||||||
|
- style
|
||||||
|
- test
|
||||||
|
- ci
|
||||||
Loading…
Add table
Reference in a new issue