Skip to content

Commit

Permalink
get previous tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Feb 6, 2024
1 parent 9b2db93 commit 09b22d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
PTAG=$(git --no-pager tag --list | sort --version-sort | tail -n2 | head -n1)
PTAG=$(git describe --abbrev=0 --tags --exclude="$(git describe --abbrev=0 --tags)")
bundle exec github_changelog_generator --user ${{ github.repository_owner }} --project "gha-test-repo" --since-tag ${PTAG} --future-release ${{ github.ref_name }} --output build/changelog.md
- name: Create Release
Expand Down

0 comments on commit 09b22d4

Please sign in to comment.