Skip to content

Commit

Permalink
one more try
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyWooo committed Sep 27, 2024
1 parent 4e82dca commit d45f1fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/create-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ jobs:
- name: Generate release notes
run: |
mv litentry-collator parachain
if [ -d "litentry-collator" ]; then
rm litentry-collator/*.tar.gz
fi
./parachain/scripts/generate-release-notes.sh ${{ github.workspace }}/.github/release_notes.md ${{ needs.set-release-type.outputs.release_type }} ${{ env.DIFF_TAG }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion parachain/scripts/generate-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ if is_client_release; then
docker images
NODE_VERSION=$(grep version node/Cargo.toml | head -n1 | sed "s/'$//;s/.*'//")
NODE_BIN=litentry-collator
NODE_SHA1SUM=$(shasum litentry-collator/"$NODE_BIN" | awk '{print $1}')
# if is_client_release, files are downloaded in the upper layer
NODE_SHA1SUM=$(shasum ../litentry-collator/"$NODE_BIN" | awk '{print $1}')
if [ -f rust-toolchain.toml ]; then
NODE_RUSTC_VERSION=$(rustc --version)
else
Expand Down

0 comments on commit d45f1fc

Please sign in to comment.