From 7183d0a959cbf303cc5114c5b8ebac8e2d5558a1 Mon Sep 17 00:00:00 2001 From: "Lazarenko.AN" Date: Fri, 14 Jul 2023 12:22:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B0=D0=B2=D1=82=D0=BE=20=D1=80=D0=B5=D0=BB?= =?UTF-8?q?=D0=B8=D0=B7=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/releaser.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/releaser.yaml b/.github/workflows/releaser.yaml index 81c6389..27bdc12 100644 --- a/.github/workflows/releaser.yaml +++ b/.github/workflows/releaser.yaml @@ -43,6 +43,14 @@ jobs: draft: false prerelease: false + # получаем коммиты для описания релиза + - name: Get commit messages + id: commit_messages + run: | + COMMITS=$(git log --pretty=format:"- %s (%h)" ${{ github.event.release.tag_name }}..HEAD) + echo "::set-output name=commits::$COMMITS" + + - name: Upload binaries uses: actions/upload-artifact@v2 with: @@ -76,4 +84,9 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: prometheus_1C_exporter-binaries/prometheus_1C_exporter-windows-amd64.exe asset_name: prometheus_1C_exporter-windows-amd64.exe - asset_content_type: application/octet-stream \ No newline at end of file + asset_content_type: application/octet-stream + release_body: | + Release ${{ github.ref }} is available. + + Commits: + ${{ steps.commit_messages.outputs.commits }} \ No newline at end of file