Skip to content

Commit

Permalink
update to go1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
daulet committed Aug 26, 2024
1 parent 0b89989 commit 668a366
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/daulet/cmd

go 1.21.3
go 1.23.0

require (
github.com/cohere-ai/cohere-go/v2 v2.7.0
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ for target in "${TARGETS[@]}"; do

if [ ! -z "$GIT_TAGS" ]; then
GIT_VERSION=$(git describe --tags $GIT_TAGS)
GOOS=$os GOARCH=$arch go build -ldflags="-s -w -X main.GitCommit=$GIT_COMMIT -X main.GitVersion=$GIT_VERSION" -o "bin/$binary_name" -a cmd/main.go
CGO_ENABLED=0 GOOS=$os GOARCH=$arch go build -ldflags="-s -w -X main.GitCommit=$GIT_COMMIT -X main.GitVersion=$GIT_VERSION" -o "bin/$binary_name" -a cmd/main.go
else
GOOS=$os GOARCH=$arch go build -ldflags="-s -w -X main.GitCommit=$GIT_COMMIT" -o "bin/$binary_name" -a cmd/main.go
CGO_ENABLED=0 GOOS=$os GOARCH=$arch go build -ldflags="-s -w -X main.GitCommit=$GIT_COMMIT" -o "bin/$binary_name" -a cmd/main.go
fi

echo "done"
Expand Down

0 comments on commit 668a366

Please sign in to comment.