Skip to content

Commit

Permalink
feat(ci): load custom git cliff config
Browse files Browse the repository at this point in the history
  • Loading branch information
eeriemyxi committed Oct 22, 2024
1 parent a761c22 commit e13bf77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ jobs:
uses: fish-actions/[email protected]

- name: Generate Release Notes
env:
CG_CONFIG_URL: "https://gist.githubusercontent.com/eeriemyxi/da2edd0187f157f3de1f2dc74bdb6426/raw/6dc75529abb9ce54b5dc3ed2cc83afbb55691443/cliff.toml"
CG_REPO_URL: ${{github.server_url}}/${{github.repository}}
run: |
pip install git-cliff
curl -s "$CG_CONFIG_URL" | python -c "import sys,os;lines=sys.stdin.read();print(lines.replace('{{REPO}}',os.environ['CG_REPO_URL']))" > cliff.toml
git-cliff -l -o RELEASE-NOTES.md
echo "RELEASE-NOTES.md:\n"
cat RELEASE-NOTES.md
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.5",
"version": "0.4.6",
"tasks": {
"start": "deno fmt; deno --check --allow-all src/main.ts",
"install": "deno install -gf --name cela --allow-all src/main.ts"
Expand Down

0 comments on commit e13bf77

Please sign in to comment.