-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
46 lines (42 loc) · 1.03 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
version: 2
before:
hooks:
- "go mod tidy"
builds:
- env:
- "CGO_ENABLED=0"
goos:
- "darwin"
- "linux"
goarch:
- "amd64"
- "arm64"
ldflags:
- "-s -w -X github.com/erNail/labdoc/cmd.version={{ .Version }}"
# Container Image build
kos:
- repository: "ernail/labdoc"
base_image: "alpine:3.20.0"
tags:
- "{{ .Version }}"
bare: true
preserve_import_paths: false
platforms:
- "linux/amd64"
- "linux/arm64"
brews:
- name: "labdoc"
caveats: "Run `labdoc -h` to get started!"
homepage: "https://github.com/erNail/labdoc"
description: "Automatically generate documentation for GitLab CI/CD components and CI/CD pipelines."
license: "MIT"
commit_msg_template: "chore: Update brew formula for {{ .ProjectName }} version {{ .Tag }}"
repository:
owner: "erNail"
name: "homebrew-tap"
branch: "feature/formula-update"
token: "{{ .Env.HOMEBREW_TAP_ERNAIL_GITHUB_TOKEN }}"
pull_request:
enabled: true
...