From 218577d4d147aa3ad7e56090a7a4cbd209447dab Mon Sep 17 00:00:00 2001 From: Heikki Ketoharju Date: Sun, 3 Mar 2024 23:09:29 +0200 Subject: [PATCH] ci: Copy git-cliff as binary package --- .github/workflows/create-packages.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-packages.yml b/.github/workflows/create-packages.yml index 4f4323f..d6b5f21 100644 --- a/.github/workflows/create-packages.yml +++ b/.github/workflows/create-packages.yml @@ -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/*