From ce50547951a3218f82cd559ba15c5c64ebfe3edb Mon Sep 17 00:00:00 2001 From: Kirill Trofimov Date: Sun, 21 Apr 2024 18:56:14 +0200 Subject: [PATCH] .github/workflows/production.yml: adding auto release --- .github/workflows/production.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index ebd040f..d191eed 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -40,6 +40,18 @@ jobs: tags: ${{ github.repository }}:${{ env.DATE }}-${{ github.ref_name }} platforms: linux/amd64,linux/arm64 + - name: Create Release + uses: actions/create-release@v1 + if: success() + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref_name }}-${{ env.DATE }} + release_name: Release ${{ github.ref_name }}-${{ env.DATE }} + draft: false + prerelease: false + generate_release_notes: true + - name: Send Discord notification uses: sarisia/actions-status-discord@6712a17f7d0531d44cd42ca2a878b0bdfd07b62a # v1 if: always()