diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a25beef..4a33afe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -262,8 +262,8 @@ jobs: uses: actions/download-artifact@v4 - name: Create assets run: | - tar czf otel-profiling-agent-${RELEASE_VERSION}-aarch64.tar.gz -C agent-aarch64 . - tar czf otel-profiling-agent-${RELEASE_VERSION}-x86_64.tar.gz -C agent-x86_64 . + tar czf otel-profiling-agent-${VERSION}-aarch64.tar.gz -C agent-aarch64 . + tar czf otel-profiling-agent-${VERSION}-x86_64.tar.gz -C agent-x86_64 . - name: Create or move previous dev tag continue-on-error: true uses: actions/github-script@v7 @@ -286,7 +286,7 @@ jobs: - name: Create pre-release uses: ncipollo/release-action@v1 with: - artifacts: "otel-profiling-agent-dev-*.tar.gz" + artifacts: otel-profiling-agent-${{ env.VERSION }}-*.tar.gz allowUpdates: true removeArtifacts: true omitBody: true