Skip to content

Commit

Permalink
ci: Copy git-cliff as binary package
Browse files Browse the repository at this point in the history
  • Loading branch information
Heikki Ketoharju committed Mar 3, 2024
1 parent 44d9996 commit 218577d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/create-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: sudo apt update -y
- run: sudo apt install make ruby-rubygems cargo -y
- run: sudo apt install make ruby-rubygems -y
- run: sudo gem install --no-document fpm
- run: pip install setuptools shiv
- run: cargo install git-cliff
- run: wget "https://github.com/orhun/git-cliff/releases/download/v1.4.0/git-cliff-1.4.0-x86_64-unknown-linux-gnu.tar.gz"
- run: tar -xvzf git-cliff-*.tar.gz
- name: create a deb package
run: make deb
- name: generate release notes for the latest release
run: git-cliff --latest > release-notes.txt
run: ./git-cliff/git-cliff --latest > release-notes.txt
- name: create a github release
run: gh release create $VERSION --notes-file release-notes.txt bin/*

0 comments on commit 218577d

Please sign in to comment.