diff options
| author | 2024-04-24 02:36:01 +0100 | |
|---|---|---|
| committer | 2024-04-24 03:46:58 +0100 | |
| commit | f7dd8f88f0f527fc28be77e9bcd937fc484573e8 (patch) | |
| tree | 2d58a3f20a8734aee2884eeb87a58e55ad9754eb /.github/workflows | |
| parent | e510e1cb157bec78ffb5bccdabb4b33e7d507d3d (diff) | |
| download | sentrum-f7dd8f88f0f527fc28be77e9bcd937fc484573e8.tar.gz sentrum-f7dd8f88f0f527fc28be77e9bcd937fc484573e8.tar.bz2 sentrum-f7dd8f88f0f527fc28be77e9bcd937fc484573e8.zip | |
Automatically generate changelog on release
Diffstat (limited to '.github/workflows')
| -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-* | 
