Skip to content

Commit

Permalink
chore: enable lino-db2
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienaury committed Mar 7, 2025
1 parent 87eaa02 commit 01bd407
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .goreleaser.template.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
env:
- GO111MODULE=on
- CGO_ENABLED=0
Expand All @@ -14,6 +15,8 @@ builds:
- darwin
- linux
- windows
goarch:
- amd64
ldflags:
- -s -w -X main.name={{ path.Base . }} {{env.Getenv "LDFLAGS"}}
{{end}}
Expand Down
2 changes: 1 addition & 1 deletion build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ targets:
# - $: git clean -f -d
- if: len(buildpaths) == 0
then:
- buildpaths = appendpath("cmd", find("cmd", "*"))
- buildpaths = ['lino']
- ldflags = ldflags + " -s -w" # Omit the DWARF symbol table. Omit the symbol table and debug information.
- ldflags = ldflags + " -X main.version=" + tag + " -X main.commit=" + commit + " -X main.buildDate=" + date + " -X main.builtBy=" + by
- $: (export LDFLAGS="={ldflags}"; export BUILDPATHS="={buildpaths}"; cat .goreleaser.template.yml | gomplate)
Expand Down

0 comments on commit 01bd407

Please sign in to comment.