diff --git a/.core/build.yaml b/.core/build.yaml new file mode 100644 index 00000000..8885f79a --- /dev/null +++ b/.core/build.yaml @@ -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 diff --git a/.core/release.yaml b/.core/release.yaml new file mode 100644 index 00000000..8cf86804 --- /dev/null +++ b/.core/release.yaml @@ -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