From 0b0f789c447697dac97cc2d74c3adf9abeb0c449 Mon Sep 17 00:00:00 2001 From: tiavina-mika Date: Tue, 11 Jun 2024 22:07:17 +0300 Subject: [PATCH] fix: release tag --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2fb12a..c93afcd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -157,18 +157,17 @@ jobs: - name: Create Release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') + if: needs.changelog.outputs.tag != '' with: - # token: ${{ secrets.GH_TOKEN }} - # tag_name: ${{ steps.changelog.outputs.tag }} + tag_name: ${{ needs.changelog.outputs.tag }} + name: ${{ needs.changelog.outputs.tag }} prerelease: false draft: false files: CHANGELOG.md generate_release_notes: true - # name: ${{ steps.changelog.outputs.tag }} body: |
🤖 Autogenerated Conventional Changelog - ${{ steps.changelog.outputs.clean_changelog }} + ${{ needs.changelog.outputs.clean_changelog }}