Skip to content

Commit

Permalink
update git cliff config
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinAbro321 committed Mar 13, 2024
1 parent 4ae6e06 commit c19d7df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
exit 1
fi
- name: Validate tag
- name: Validate version
run: |
# https://regex101.com/r/Vu7qEb/1
SEMVER_REGEX="^v[0-9]+\.[0-9]+\.[0-9]+$"
Expand All @@ -46,7 +46,8 @@ jobs:
mv /tmp/git-cliff-${VERSION}/git-cliff /usr/local/bin/
- name: generate release notes
run: git cliff --unreleased --include-path "${{ github.event.inputs.packageName }}/*" > notes.txt
run: |
git cliff --tag ${{ github.event.inputs.packageName }}/${{ github.event.inputs.version }} --include-path "${{ github.event.inputs.packageName }}/*" > notes.txt
- name: Release
env:
Expand Down

0 comments on commit c19d7df

Please sign in to comment.