Skip to content

Commit

Permalink
Merge branch 'main' into fix/bump-hh
Browse files Browse the repository at this point in the history
  • Loading branch information
idea404 authored Sep 13, 2023
2 parents beeea2f + de35b8f commit db49287
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ jobs:
run: rustup target add ${{ matrix.arch }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
cache-on-failure: false
- name: Run cargo clean
run: cargo clean

# ==============================
# Builds
Expand Down Expand Up @@ -122,6 +124,13 @@ jobs:
echo "CHANGELOG<<EOF" >> $GITHUB_OUTPUT
echo "$(git log --pretty=format:"- %s" $(git describe --tags --abbrev=0 ${{ env.VERSION }}^)..${{ env.VERSION }})" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Generate list of contributors
id: contributors
run: |
echo "CONTRIBUTORS<<EOF" >> $GITHUB_OUTPUT
echo "$(git log --pretty=format:"- %aN (%aE)" $(git describe --tags --abbrev=0 ${{ env.VERSION }}^)..${{ env.VERSION }} | sort | uniq)" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Create release draft
env:
Expand All @@ -131,18 +140,27 @@ jobs:
# The formatting here is borrowed from reth which borrowed it from Lighthouse (which is borrowed from OpenEthereum): https://github.com/openethereum/openethereum/blob/main/.github/workflows/build.yml
run: |
body=$(cat <<- "ENDBODY"
# Release: <Release Name>
Release: ${{ env.VERSION }}
## 📋 Summary
🐛 **Bug Fixes:**
✨ **New Features:**
🐛 **Bug Fixes:**
- TBD
✨ **New Features:**
- TBD
⚠️ **Breaking Changes:**
- TBD
## 📜 All Changes
${{ steps.changelog.outputs.CHANGELOG }}
## ⭐ Contributors
${{ steps.contributors.outputs.CONTRIBUTORS }}
## 📥 Binaries
| System | Architecture | Binary |
Expand Down

0 comments on commit db49287

Please sign in to comment.