From 68379b6b58c93e4cbd9382d74a8e0af639b7ff94 Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 6 Mar 2026 18:52:37 +0000 Subject: [PATCH] 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 --- .core/build.yaml | 24 ++++++++++++++++++++++++ .core/release.yaml | 20 ++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .core/build.yaml create mode 100644 .core/release.yaml diff --git a/.core/build.yaml b/.core/build.yaml new file mode 100644 index 0000000..78827dc --- /dev/null +++ b/.core/build.yaml @@ -0,0 +1,24 @@ +version: 1 + +project: + name: go-scm + description: Source control management + binary: "" + +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 diff --git a/.core/release.yaml b/.core/release.yaml new file mode 100644 index 0000000..8980ce7 --- /dev/null +++ b/.core/release.yaml @@ -0,0 +1,20 @@ +version: 1 + +project: + name: go-scm + repository: core/go-scm + +publishers: [] + +changelog: + include: + - feat + - fix + - perf + - refactor + exclude: + - chore + - docs + - style + - test + - ci