File tree Expand file tree Collapse file tree 3 files changed +26
-26
lines changed Expand file tree Collapse file tree 3 files changed +26
-26
lines changed Original file line number Diff line number Diff line change 11# .goreleaser.yml
2- # before:
3- # hooks:
4- # - go mod tidy
5- # - go generate ./...
62
7- # builds:
8- # - env: [CGO_ENABLED=0]
9- # goos:
10- # - linux
11- # - windows
12- # - darwin
13- # goarch:
14- # - amd64
15- # - arm64
16- # ldflags:
17- # - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}}
18- # mod_timestamp: '{{ .CommitTimestamp }}'
3+ builds :
4+ - env : [CGO_ENABLED=0]
5+ dir : go
6+ goos :
7+ - linux
8+ - darwin
9+ goarch :
10+ - amd64
11+ - arm64
1912
2013# dockers:
2114# - image_templates: ["ghcr.io/krzko/{{ .ProjectName }}:{{ .Version }}-amd64"]
5750# - ghcr.io/krzko/{{ .ProjectName }}:{{ .Version }}-arm64v8
5851
5952archives :
60- format : gz
61- # - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
62- # format_overrides:
63- # - goos: windows
64- # format: zip
65- # wrap_in_directory: true
53+ - files :
54+ - Makefile
55+ - library/*
6656
67- # checksum:
68- # name_template: '{{.ProjectName}}_checksums. txt'
57+ checksum :
58+ name_template : checksums. txt
6959
70- # snapshot:
71- # name_template: "{{ incpatch .Version }}-next"
60+ snapshot :
61+ name_template : " {{ incpatch .Version }}-next"
7262
7363changelog :
7464 sort : asc
Original file line number Diff line number Diff line change 1+ module github.com/krzko/opentelemetry-shell
2+
3+ go 1.18
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import "fmt"
4+
5+ func main () {
6+ fmt .Print ("Came for the scripts, stayed for goreleaser" )
7+ }
You can’t perform that action at this time.
0 commit comments