From 2a1b65a0b3045b51ce312025557a3d955b92ee3f Mon Sep 17 00:00:00 2001 From: Nathan Slaughter <28688390+nslaughter@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:49:42 -0500 Subject: [PATCH] correct otelcol version --- collector/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/Makefile b/collector/Makefile index e69148490e..c88283046f 100644 --- a/collector/Makefile +++ b/collector/Makefile @@ -4,7 +4,7 @@ BASE_SPACE:=$(shell pwd) BUILD_SPACE:=$(BASE_SPACE)/build BUCKET_NAME:=lambda-artifacts-$(shell dd if=/dev/random bs=8 count=1 2>/dev/null | od -An -tx1 | tr -d ' \t\n') LAYER_NAME:=otel-collector -OTELCOL_VERSION="UNSET" # run recipe set-otelcol-version to get this +OTELCOL_VERSION=$(shell cat VERSION) GIT_SHA=$(shell git rev-parse HEAD) GOARCH ?= amd64 GOBUILD=GO111MODULE=on CGO_ENABLED=0 installsuffix=cgo go build -trimpath$(if ${BUILDTAGS}, -tags "${BUILDTAGS}",)