From 1c0b84b78b7f2ef40e3b8f3056b9de3b40962043 Mon Sep 17 00:00:00 2001 From: dfeldick Date: Fri, 12 Jan 2024 13:55:36 -0700 Subject: [PATCH] APIGOV-00002 - update SDK for release --- Makefile | 10 ++++++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f1e9714..76e71db 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,16 @@ dep: resolve-dependencies dep-check: @go mod verify +dep-version: + @export version=$(sdk) && make update-sdk && make dep + +dep-sdk: + @make sdk=main dep-version + +update-sdk: + @echo "Updating SDK dependencies" + @export GOFLAGS="" && go mod edit -require "github.com/Axway/agent-sdk@${version}" + ${WORKSPACE}/discovery_agent: @go build -v -tags static_all \ diff --git a/go.mod b/go.mod index 9284d50..e6fada6 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/Axway/agents-kong go 1.18 require ( - github.com/Axway/agent-sdk v1.1.72-0.20240103224310-c9edbdc66989 + github.com/Axway/agent-sdk v1.1.72 github.com/elastic/beats/v7 v7.17.15 github.com/google/uuid v1.3.1 github.com/kong/go-kong v0.47.0 diff --git a/go.sum b/go.sum index 13b5240..2e368af 100644 --- a/go.sum +++ b/go.sum @@ -36,8 +36,8 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/Axway/agent-sdk v1.1.72-0.20240103224310-c9edbdc66989 h1:ptdjxNICx+Ftau9usJbKdI0MHxpG2tjgzmW6X+MNhlc= -github.com/Axway/agent-sdk v1.1.72-0.20240103224310-c9edbdc66989/go.mod h1:Iuv9KlWksVTbTKdfs4bKVYMDc33ZTLYoHt572z2CbbI= +github.com/Axway/agent-sdk v1.1.72 h1:a2KzzEXtLH6g6+zY0WnyZhY1bJnuf3roFTvyTr5qgDA= +github.com/Axway/agent-sdk v1.1.72/go.mod h1:Iuv9KlWksVTbTKdfs4bKVYMDc33ZTLYoHt572z2CbbI= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest/autorest v0.11.12/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw=