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

onlyLastTag not working #21

Closed
HenKun opened this issue Dec 11, 2020 · 1 comment
Closed

onlyLastTag not working #21

HenKun opened this issue Dec 11, 2020 · 1 comment

Comments

@HenKun
Copy link

HenKun commented Dec 11, 2020

https://github.com/heinrichreimer/action-github-changelog-generator/blob/22661924db8a133532edb412177e092b5e804efd/entrypoint.sh#L27

If onlyLastTag option is used, the action fails with fatal: Not a valid object name

It works when the quotes are removed from "$(git rev-list --tags --skip=1 --max-count=1)"

@spaskhalov
Copy link

If anyone mess with that problem , just try to checkout with fetch-depth: 0, before generate change log step.

 uses: actions/checkout@v2
       with:      
        fetch-depth: 0

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

2 participants