Skip to content

Commit a974bef

Browse files
authored
fix(build): correct goreleaser build flags (#86)
Signed-off-by: umatare5 <umatare5@gmail.com>
1 parent f919dab commit a974bef

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

.goreleaser.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ builds:
2727
- darwin_arm64
2828
env:
2929
- CGO_ENABLED=0
30+
flags:
31+
- -trimpath
3032
ldflags:
3133
- -s -w -X 'github.com/umatare5/telee/cli.version={{ .Version }}'
32-
gcflags:
33-
- all=-trimpath
34-
asmflags:
35-
- all=-trimpath
3634

3735
archives:
3836
- name_template: "{{ .ProjectName }}-v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<img alt="GitHub Tag" src="https://img.shields.io/github/v/tag/umatare5/telee?label=Latest%20version" />
1515
<a href="https://github.com/umatare5/telee/actions/workflows/go-test-build.yml"><img alt="Test and Build" src="https://github.com/umatare5/telee/actions/workflows/go-test-build.yml/badge.svg?branch=main" /></a>
1616
<img alt="Test Coverage" src="docs/assets/coverage.svg" />
17-
<a href="https://goreportcard.com/report/github.com/umatare5/telee"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/umatare5/telee?style=flat-square" /></a>
17+
<a href="https://goreportcard.com/report/github.com/umatare5/telee"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/umatare5/telee?style=flat-square" /></a><br/>
1818
<a href="https://www.bestpractices.dev/projects/10968"><img alt="OpenSSF Best Practices" src="https://www.bestpractices.dev/projects/10968/badge" /></a>
1919
<a href="./LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /></a>
2020
<a href="https://developer.cisco.com/codeexchange/github/repo/umatare5/telee"><img alt="Published" src="https://static.production.devnetcloud.com/codeexchange/assets/images/devnet-published.svg" /></a>

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.10.0
1+
1.10.1

0 commit comments

Comments
 (0)