Skip to content

Commit 34017fb

Browse files
authored
ci: goreleaser tweaks (#47)
1 parent 2187a57 commit 34017fb

4 files changed

Lines changed: 31 additions & 22 deletions

File tree

‎.github/workflows/go-releaser.yml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: goreleaser
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
8+
permissions:
9+
contents: write
10+
packages: write
11+
jobs:
12+
goreleaser:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v5
17+
with:
18+
fetch-depth: 0
19+
- name: Set up Go
20+
uses: actions/setup-go@v5
21+
- name: Run GoReleaser
22+
uses: goreleaser/goreleaser-action@v6
23+
with:
24+
distribution: goreleaser
25+
version: 'latest'
26+
args: release --clean
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
GORELEASER_AUTH_TOKEN: ${{ secrets.GORELEASER_AUTH_TOKEN}}

‎.goreleaser.yaml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ archives:
4848
formats: ['zip']
4949

5050
changelog:
51-
sort: asc
52-
filters:
53-
exclude:
54-
- "^docs:"
55-
- "^test:"
51+
disable: true
5652

5753
release:
5854
github:

‎CHANGELOG.md‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-all: conductor-build-binaries build-freight
77

88
.Phony: conductor-build-binaries
99
conductor-build-binaries:
10-
goreleaser release --config=./assets/.goreleaser.yaml
10+
goreleaser release --snapshot --clean --config=./assets/.goreleaser.yaml
1111

1212
.Phony: conductor-dev-build-binaries
1313
conductor-dev-build-binaries:

0 commit comments

Comments
 (0)