Skip to content

Commit

Permalink
anothertEST
Browse files Browse the repository at this point in the history
  • Loading branch information
mpuigdomenchSage committed Jan 23, 2025
1 parent 85f2066 commit 6b98797
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-layer-collector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6b98797

Please sign in to comment.