Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Commits between tags aren't found #66

Open
NandoTheessen opened this issue Feb 20, 2025 · 1 comment
Open

Bug: Commits between tags aren't found #66

NandoTheessen opened this issue Feb 20, 2025 · 1 comment

Comments

@NandoTheessen
Copy link

NandoTheessen commented Feb 20, 2025

Hi!

Currently trying to make this work, but commits between tags aren't found.

Just tested this with two tags (v0.0.4 & v0.0.5) and added three commits in between them, but none of them were found.

Here's my configuration

- name: Generate Changelog
        if: contains(github.ref_name, '-rc') == false
        id: changelog
        uses: requarks/changelog-action@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          fromTag: ${{ env.previousTag }}
          toTag: ${{ github.ref_name }}
          includeInvalidCommits: true
          writeToFile: false

Here's what ran:

Run requarks/changelog-action@v1
  with:
    token: ***
    fromTag: v0.0.4
    toTag: v0.0.5
    includeInvalidCommits: true
    writeToFile: false
    excludeTypes: build,docs,other,style
    changelogFilePath: CHANGELOG.md
    includeRefIssues: true
    useGitmojis: true
    reverseOrder: false
  env:
    previousTag: v0.0.4

Using tag range: v0.0.4 to v0.0.5
Error: Couldn't find any commits between latest and previous tags.

Any obvious misconfiguration you can point me to?
Or is this indeed a bug?

@NandoTheessen
Copy link
Author

To give more context:

DEBUG

Commits between v0.0.5 and v0.0.6:
800234f5 add more debug output
0ec6bb32 fix: add debug step for changelog creation

Run requarks/changelog-action@v1
  with:
    token: ***
    fromTag: v0.0.5
    toTag: v0.0.6
    includeInvalidCommits: true
    writeToFile: false
    excludeTypes: build,docs,other,style
    changelogFilePath: CHANGELOG.md
    includeRefIssues: true
    useGitmojis: true
    reverseOrder: false
  env:
    previousTag: v0.0.5

Using tag range: v0.0.5 to v0.0.6
Error: Couldn't find any commits between latest and previous tags.

So there are definitely commits there and there also available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant