Skip to content

Commit

Permalink
Update git-cliff installation
Browse files Browse the repository at this point in the history
  • Loading branch information
karthik-sivadas committed Mar 18, 2024
1 parent 65d1fa0 commit 5ade183
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
# git checkout -b $BRANCH_NAME
# git push origin $BRANCH_NAME

- name: Generate changelog
run: |
curl -L https://github.com/orhun/git-cliff/releases/download/v0.1.0/git-cliff-linux-x86_64 -o git-cliff
chmod +x git-cliff
./git-cliff --config gitcliff.toml > CHANGELOG.md
git add CHANGELOG.md
git commit -m "Generate changelog for ${{ steps.nextversion.outputs.version }}"
git push
- name: Generate changelog using git-cliff
uses: orhun/git-cliff-action@v1
with:
config: gitcliff.toml # Specify the path to your gitcliff configuration file if it's not in the repository root
output: CHANGELOG.md # The output file for the generated changelog
tag: ${{ steps.nextversion.outputs.version }} # Use the dynamically calculated next version as the tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Assuming you need to update a version file in your repository
- name: Update version file
Expand Down

0 comments on commit 5ade183

Please sign in to comment.