From 6b98797a44c934cfb360843264751ac718c7c2f4 Mon Sep 17 00:00:00 2001 From: mpuigdomenchSage Date: Thu, 23 Jan 2025 17:21:20 +0100 Subject: [PATCH] anothertEST --- .github/workflows/release-layer-collector.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-layer-collector.yml b/.github/workflows/release-layer-collector.yml index 1914ad0907..65dee6b725 100644 --- a/.github/workflows/release-layer-collector.yml +++ b/.github/workflows/release-layer-collector.yml @@ -35,7 +35,7 @@ jobs: prefix=$(echo $last_tag | cut -d'/' -f1) major_minor=$(echo $last_tag | cut -d'/' -f2 | cut -d'.' -f1,2) patch=$(echo $last_tag | cut -d'.' -f3) - x=$(echo $major_minor | cut -d'.' -f2) + x=$(echo $major_minor | cut -d'.' -f2) new_x=$((x + 1)) new_tag="$prefix/0.$new_x.1" pwd @@ -44,7 +44,7 @@ jobs: git tag $new_tag git push origin $new_tag echo "::set-output name=new_tag::$new_tag" - echo "NEW_TAG=$new_tag" >> $GITHUB_ENV + echo "NEW_TAG=$new_tag" >> $GITHUB_OUTPUT - name: Create Release run: gh release create ${{ steps.increment_tag.outputs.new_tag }} --title ${{ steps.increment_tag.outputs.new_tag }} --generate-notes @@ -67,7 +67,8 @@ jobs: go-version: '^1.23.1' - name: Use Variable - run: echo "${{ env.NEW_TAG }}" + run: | + SECRET_HANDLE="${{ needs.create-release.outputs.NEW_TAG }}" - name: build run: make -C collector package GOARCH=${{ matrix.architecture }} - uses: actions/upload-artifact@v4