From 94f57c4c9f6a1daeb3cec7242ff967eb1c2c4fc7 Mon Sep 17 00:00:00 2001 From: Matt Calhoun Date: Wed, 20 Dec 2023 16:58:53 -0500 Subject: [PATCH] fix build --- .github/workflows/auto-release.yaml | 2 +- Makefile | 4 ++-- go.mod | 2 +- go.sum | 2 ++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 324c337..3857b67 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -16,7 +16,7 @@ jobs: # Drafts the next release's Release Notes as Pull Requests are merged into "main" - uses: release-drafter/release-drafter@v5 with: - publish: ${{ !contains(steps.get-merged-pull-request.outputs.labels, 'no-release') }} + publish: false prerelease: false config-name: auto-release.yml env: diff --git a/Makefile b/Makefile index 28bfbd2..2b8aa13 100644 --- a/Makefile +++ b/Makefile @@ -16,11 +16,11 @@ lint: build-all: build-listener build-listener: - GOOS=${GOOS} GOARCH=${GOARCH} CGO_ENABLED=0 go build -v -ldflags -o build/listener/bootstrap -tags lambda.norpc ./cmd/listener + GOOS=${GOOS} GOARCH=${GOARCH} CGO_ENABLED=0 go build -v -o build/listener/bootstrap -tags lambda.norpc ./cmd/listener cd build/listener/ && zip listener-lambda.zip bootstrap deps: - go get lambda.norpc + go get github.com/aws/aws-lambda-go/lambda go mod download # Run acceptance tests diff --git a/go.mod b/go.mod index df1cef1..b42830f 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cloudposse/ssm-syncronizer go 1.20 require ( - github.com/aws/aws-lambda-go v1.42.0 + github.com/aws/aws-lambda-go v1.43.0 github.com/aws/aws-sdk-go v1.49.5 github.com/docker/docker v24.0.7+incompatible github.com/golang/mock v1.6.0 diff --git a/go.sum b/go.sum index 08c26ed..be7963b 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/aws/aws-lambda-go v1.42.0 h1:U4QKkxLp/il15RJGAANxiT9VumQzimsUER7gokqA0+c= github.com/aws/aws-lambda-go v1.42.0/go.mod h1:dpMpZgvWx5vuQJfBt0zqBha60q7Dd7RfgJv23DymV8A= +github.com/aws/aws-lambda-go v1.43.0 h1:Tdu7SnMB5bD+CbdnSq1Dg4sM68vEuGIDcQFZ+IjUfx0= +github.com/aws/aws-lambda-go v1.43.0/go.mod h1:dpMpZgvWx5vuQJfBt0zqBha60q7Dd7RfgJv23DymV8A= github.com/aws/aws-sdk-go v1.49.5 h1:y2yfBlwjPDi3/sBVKeznYEdDy6wIhjA2L5NCBMLUIYA= github.com/aws/aws-sdk-go v1.49.5/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=