From a0536cec5ac4e1059051a8063bc4fd8b95e374a5 Mon Sep 17 00:00:00 2001 From: Alex Boten Date: Thu, 4 May 2023 12:20:36 -0700 Subject: [PATCH] rename the output from make package (#677) Signed-off-by: Alex Boten --- .github/workflows/layer-publish.yml | 1 - .github/workflows/release-layer-collector.yml | 2 +- collector/Makefile | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/layer-publish.yml b/.github/workflows/layer-publish.yml index 5f67aea8aa..86060fabe0 100644 --- a/.github/workflows/layer-publish.yml +++ b/.github/workflows/layer-publish.yml @@ -76,7 +76,6 @@ jobs: - name: Publish Lambda Layer run: | - find . LAYER_ARN=$( aws lambda publish-layer-version \ --layer-name $LAYER_NAME \ diff --git a/.github/workflows/release-layer-collector.yml b/.github/workflows/release-layer-collector.yml index 3d5e6b36dc..1f8ce10dbf 100644 --- a/.github/workflows/release-layer-collector.yml +++ b/.github/workflows/release-layer-collector.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/upload-artifact@v3 with: name: opentelemetry-collector-layer-${{ matrix.architecture }}.zip - path: ${{ github.workspace }}/collector/build/collector-extension-${{ matrix.architecture }}.zip + path: ${{ github.workspace }}/collector/build/opentelemetry-collector-layer-${{ matrix.architecture }}.zip - name: Save Collector Version if: ${{ matrix.architecture == 'amd64' }} id: save-collector-version diff --git a/collector/Makefile b/collector/Makefile index e272d83e39..8a3d5327bc 100644 --- a/collector/Makefile +++ b/collector/Makefile @@ -44,7 +44,7 @@ package: build @echo Package zip file for collector extension layer mkdir -p $(BUILD_SPACE)/collector-config cp config* $(BUILD_SPACE)/collector-config - cd $(BUILD_SPACE) && zip -r collector-extension-$(GOARCH).zip collector-config extensions + cd $(BUILD_SPACE) && zip -r opentelemetry-collector-layer-$(GOARCH).zip collector-config extensions .PHONY: publish publish: