Skip to content

Commit

Permalink
ci: fix git-cliff installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mbelak-dtml committed Oct 11, 2023
1 parent c22b69e commit 4f275b7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
run: |
curl -sSfL "https://github.com/convco/convco/releases/download/${{ env.CONVCO_VERSION }}/convco-ubuntu.zip" | zcat > /usr/local/bin/convco
chmod +x /usr/local/bin/convco
- name: Install git-cliff
run: |
wget "https://github.com/orhun/git-cliff/releases/download/v${{ env.CONVCO_VERSION }}/git-cliff-${{ env.CONVCO_VERSION }}-x86_64-unknown-linux-gnu.tar.gz" | zcat > usr/local/bin/git-cliff
- name: Set variables
id: set-vars
run: |
Expand Down Expand Up @@ -62,8 +59,8 @@ jobs:
########################################
# Generate changelogs
########################################
git cliff --tag=${{ env.NEW_TAG }} --unreleased > ${{ env.CHANGELOG_FILE }}
git cliff --tag=${{ env.NEW_TAG }} > ${{ env.FULL_CHANGELOG_FILE }}
npx git-cliff@${{ env.GITCLIFF_VERSION }} --tag=${{ env.NEW_TAG }} --unreleased > ${{ env.CHANGELOG_FILE }}
npx git-cliff@${{ env.GITCLIFF_VERSION }} --tag=${{ env.NEW_TAG }} > ${{ env.FULL_CHANGELOG_FILE }}
########################################
# Create GitHub Release
########################################
Expand Down

0 comments on commit 4f275b7

Please sign in to comment.