Skip to content

Commit

Permalink
release: generate sha256 checksums (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gandem authored Jul 10, 2024
1 parent a3b76e2 commit 467c8ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ jobs:
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 .
sha256sum otel-profiling-agent-${RELEASE_VERSION}-aarch64.tar.gz otel-profiling-agent-${RELEASE_VERSION}-x86_64.tar.gz > sha256sums.txt
- name: Create or move previous dev tag
continue-on-error: true
uses: actions/github-script@v7
Expand All @@ -296,7 +297,7 @@ jobs:
- name: Create pre-release
uses: ncipollo/release-action@v1
with:
artifacts: otel-profiling-agent-${{ env.RELEASE_VERSION }}-*.tar.gz
artifacts: "otel-profiling-agent-${{ env.RELEASE_VERSION }}-*.tar.gz,sha256sums.txt"
allowUpdates: true
removeArtifacts: true
omitBody: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:
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 .
sha256sum otel-profiling-agent-${RELEASE_VERSION}-aarch64.tar.gz otel-profiling-agent-${RELEASE_VERSION}-x86_64.tar.gz > sha256sums.txt
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "otel-profiling-agent-v*.tar.gz"
artifacts: "otel-profiling-agent-v*.tar.gz,sha256sum.txt"
allowUpdates: true
omitBody: true
draft: true
Expand Down

0 comments on commit 467c8ae

Please sign in to comment.