Changelog 23/09/2024 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release on Tag Push | |
on: | |
push: | |
branches: [main] | |
tags: | |
- "v*" | |
jobs: | |
create_release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: List closed issues | |
id: list_closed_issues | |
run: | | |
echo "issues=$(gh issue list --closed --since=\"tags/$(git describe --tags --abbrev=0)\" --format='- {{.title}} (#{{.number}})')" >> $GITHUB_OUTPUT | |
- name: Get commit log | |
id: commit_log | |
run: | | |
echo "log=$(git log --pretty=format:'- %s (%h)' --abbrev-commit --since=\"$(git describe --tags --abbrev=0)\")" >> $GITHUB_OUTPUT | |
- name: Create Release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.run_number }} | |
body: | | |
O que mudou: | |
${{ steps.commit_log.outputs.log }} | |
**Issues Fechadas:** | |
${{ steps.list_closed_issues.outputs.issues }} |