From b22f0e1b443a0d120647b21580ea4fc0b43f1cd4 Mon Sep 17 00:00:00 2001 From: David Dymko Date: Sun, 4 Jan 2026 17:32:26 -0500 Subject: [PATCH 1/2] ci: goreleaser tweaks --- .github/workflows/go-releaser.yml | 28 ++++++++++++++++++++++++++++ .goreleaser.yaml | 6 +----- CHANGELOG.md | 16 ---------------- Makefile | 2 +- 4 files changed, 30 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/go-releaser.yml delete mode 100644 CHANGELOG.md diff --git a/.github/workflows/go-releaser.yml b/.github/workflows/go-releaser.yml new file mode 100644 index 0000000..db16113 --- /dev/null +++ b/.github/workflows/go-releaser.yml @@ -0,0 +1,28 @@ +name: goreleaser + +on: + pull_request: + push: + +permissions: + contents: write + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v5 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v5 + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: 'latest' + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_AUTH_TOKEN: ${{ secrets.GORELEASER_AUTH_TOKEN}} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 10f7797..2d719a9 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -48,11 +48,7 @@ archives: formats: ['zip'] changelog: - sort: asc - filters: - exclude: - - "^docs:" - - "^test:" + disable: true release: github: diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 9135d06..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,16 +0,0 @@ -# Changelog - -## 0.1.0 (2026-01-04) - - -### Features - -* add checkout support ([#19](https://github.com/devbytes-cloud/freight/issues/19)) ([0490858](https://github.com/devbytes-cloud/freight/commit/049085842c6661a7d964e9421552cc360d31c607)) -* commit msg input ([#20](https://github.com/devbytes-cloud/freight/issues/20)) ([6746af5](https://github.com/devbytes-cloud/freight/commit/6746af535b486b067fdca0b8aa7c2afca140a783)) -* default skipping config overrwites ([#15](https://github.com/devbytes-cloud/freight/issues/15)) ([b6b25a3](https://github.com/devbytes-cloud/freight/commit/b6b25a316012bc89c6514543c69632aee245f980)) -* dynamic railcar installation ([#11](https://github.com/devbytes-cloud/freight/issues/11)) ([8cc9471](https://github.com/devbytes-cloud/freight/commit/8cc94715e8a7e52bebf6f4e429be288fc15ad93d)) - - -### Miscellaneous Chores - -* release 0.1.0 ([#46](https://github.com/devbytes-cloud/freight/issues/46)) ([601b351](https://github.com/devbytes-cloud/freight/commit/601b351afa74e942ccfb4b6c18090f24ac81f0e7)) diff --git a/Makefile b/Makefile index 70fa915..1bffe32 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ build-all: conductor-build-binaries build-freight .Phony: conductor-build-binaries conductor-build-binaries: - goreleaser release --config=./assets/.goreleaser.yaml + goreleaser release --snapshot --clean --config=./assets/.goreleaser.yaml .Phony: conductor-dev-build-binaries conductor-dev-build-binaries: From 32aa16b8bf92547fa9d5d85daae8e725de7cae8a Mon Sep 17 00:00:00 2001 From: David Dymko Date: Sun, 4 Jan 2026 17:34:13 -0500 Subject: [PATCH 2/2] ci: goreleaser tweaks --- .github/workflows/go-releaser.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-releaser.yml b/.github/workflows/go-releaser.yml index db16113..2bafff3 100644 --- a/.github/workflows/go-releaser.yml +++ b/.github/workflows/go-releaser.yml @@ -1,12 +1,13 @@ name: goreleaser on: - pull_request: push: + tags: + - "*" permissions: contents: write - + packages: write jobs: goreleaser: runs-on: ubuntu-latest