diff options
author | Cem Keylan <cem@ckyln.com> | 2022-02-15 02:52:12 +0100 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-02-15 02:52:12 +0100 |
commit | 3ed579e535d4ee7524fb9b10a7978bb3ded23e66 (patch) | |
tree | 5227ea5f306c794110dee8e111ecf35c841d60d7 /community/chezmoi/build | |
parent | 5ac0d2b38723d54e528e0181da0887269c236f00 (diff) | |
download | repository-3ed579e535d4ee7524fb9b10a7978bb3ded23e66.tar.gz |
chezmoi: bump to 2.12.0
Diffstat (limited to 'community/chezmoi/build')
-rwxr-xr-x | community/chezmoi/build | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/community/chezmoi/build b/community/chezmoi/build index c42675ae..b395342c 100755 --- a/community/chezmoi/build +++ b/community/chezmoi/build @@ -1,10 +1,5 @@ #!/bin/sh -e -export GOPATH="$PWD/gopath" - -trap "go clean -modcache" EXIT INT - -go mod vendor date=$(date -u +%Y-%m-%dT%H:%M:%SZ) -CGO_ENABLED=0 go build -ldflags="-X 'main.version=$2' -X 'main.commit=null' -X 'main.builtBy=cpt' -X 'main.date=$date'" +CGO_ENABLED=0 go build -v -mod=vendor -ldflags="-X 'main.version=$2' -X 'main.commit=null' -X 'main.builtBy=cpt' -X 'main.date=$date'" clinst -Dm755 chezmoi "$1/usr/bin/chezmoi" |