Skip to content

Commit

Permalink
Merge pull request #54 from alexey-lapin/feature/fix-actions-changelog
Browse files Browse the repository at this point in the history
feature/fix-actions-changelog
  • Loading branch information
alexey-lapin authored May 29, 2024
2 parents 51dfd64 + 6a28d25 commit 98fc8cb
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 3 deletions.
55 changes: 53 additions & 2 deletions .github/release-changelog-builder.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,55 @@
{
"template": "${{CHANGELOG}}${{UNCATEGORIZED}}",
"pr_template": "- ${{TITLE}} @${{AUTHOR}} (#${{NUMBER}})"
"template": "#{{CHANGELOG}}",
"pr_template": "* #{{TITLE}} @#{{AUTHOR}} (##{{NUMBER}})",
"categories": [
{
"title": "## 🚀 Features",
"labels": [
"feature",
"enhancement"
]
},
{
"title": "## 🐛 Fixes",
"labels": [
"fix",
"bug"
]
},
{
"title": "## 📝 Documentation",
"labels": [
"documentation",
"docs"
]
},
{
"title": "## 🏗️ Maintenance",
"labels": [
"maintenance"
]
},
{
"title": "## 🚧 Chore",
"labels": [
"chore"
]
},
{
"title": "## 🧰 Refactor",
"labels": [
"refactor"
]
},
{
"title": "## 🧪 Tests",
"labels": [
"test"
]
},
{
"title": "## 📦 Uncategorized",
"labels": []
}
]
}
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,15 @@ jobs:
- name: Build Changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
outputFile: changelog.txt
configuration: ".github/release-changelog-builder.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
uses: softprops/action-gh-release@v2
with:
body: ${{ steps.github_release.outputs.changelog }}
body_path: changelog.txt
draft: true
files: |
app-jar/*.jar
Expand Down

0 comments on commit 98fc8cb

Please sign in to comment.