Skip to content

Commit

Permalink
Create Release on Tag Push
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Sep 12, 2024
1 parent cf22e13 commit 5d3ad77
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Create Release on Tag Push

on:
push:
branches: [main]
tags:
- "v*"
repository:
url: https://github.com/rtenorioh/Press-Ticket

jobs:
create_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create Release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.run_number }}
body: |
O que mudou:
```
git log --pretty=format:'- %s (%h)' --abbrev-commit --since="tags/$(git describe --tags --abbrev=0)"
```
Issues Fechadas:**
${{ steps.list_closed_issues.outputs.issues }}
- 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

0 comments on commit 5d3ad77

Please sign in to comment.