Skip to content

Commit

Permalink
fix go version in go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
aleoli committed Sep 11, 2023
1 parent 0ae60d5 commit e9f8651
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build/liqoctl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ trap 'error "${BASH_SOURCE}" "${LINENO}"' ERR
GO_VERSION="1.21"

docker run -v "$PWD:/liqo" -w /liqo -e="CGO_ENABLED=${CGO_ENABLED}" --rm "golang:${GO_VERSION}" \
go mod tidy && go build -o "./liqoctl-${GOOS}-${GOARCH}" \
-ldflags="-s -w -X 'github.com/liqotech/liqo/pkg/liqoctl/version.liqoctlVersion=${LIQOCTLVERSION}'" \
sh -c "go mod tidy && go build -o \"./liqoctl-${GOOS}-${GOARCH}\" \
-ldflags=\"-s -w -X 'github.com/liqotech/liqo/pkg/liqoctl/version.liqoctlVersion=${LIQOCTLVERSION}'\" \
-buildvcs=false \
./cmd/liqoctl
./cmd/liqoctl"
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/liqotech/liqo

go 1.21
go 1.21.0

require (
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
Expand Down

0 comments on commit e9f8651

Please sign in to comment.