diff options
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ea5f7a..f02db1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,11 +36,13 @@ jobs: else tar czvf ${{ matrix.name }} target/release/${{ matrix.bin }} sentrum.sample.toml contrib/sentrum.service fi + - name: Generate Changelog + run: utils/generate_changelog.sh ${{ github.ref_name }} > ${{ github.workspace }}-CHANGELOG.md - name: Publish uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: - body_path: docs/CHANGELOG.md + body_path: ${{ github.workspace }}-CHANGELOG.md draft: true fail_on_unmatched_files: true files: sentrum-* |