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 b4a6447
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ updates:
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "docker"
directory: "/build/*"
schedule:
interval: "daily"
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 b4a6447

Please sign in to comment.