Skip to content

Commit

Permalink
авто релизы
Browse files Browse the repository at this point in the history
  • Loading branch information
LazarenkoA committed Jul 14, 2023
1 parent c114ff1 commit 7183d0a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/releaser.yaml
Expand Up @@ -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:
Expand Down Expand Up @@ -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
asset_content_type: application/octet-stream
release_body: |
Release ${{ github.ref }} is available.
Commits:
${{ steps.commit_messages.outputs.commits }}

0 comments on commit 7183d0a

Please sign in to comment.