auto-changelog icon indicating copy to clipboard operation
auto-changelog copied to clipboard

0.5.0 broke things for me

Open michaelaye opened this issue 4 years ago • 6 comments

My changelogs are currently empty using 0.5.0, while they were fine with 0.4.x. No error messages either.

michaelaye avatar Jun 19 '20 09:06 michaelaye

Hi. Thank you for your report. Can you share more information?

  • Link or git log output of your repository (including tags)
  • Autochangelog command you used

KeNaCo avatar Jun 20 '20 20:06 KeNaCo

Same issue here.

027d24c (HEAD -> master) chore: bump dependency versions
b61ee0b (origin/master, origin/HEAD) docs: add example
f746e3f improvement: remove unused parts from .gitignore
a8927c5 chore(release): 0.4.0
80c01f1 feat: decrypt obfuscated parts of the LUA script
dd8baa9 chore(release): 0.3.1
9d04450 fix: move versioning tools to dev dependencies
9925875 chore(release): 0.3.0
e5df24a feat: decompile LUA (using unluac tool)
2805e82 improvement: descriptive CLI progress messages
9394a7c refactor: move unpack functionality to the Cartridge method
a125ff6 chore(release): 0.2.1
e0d3406 feat: semantic versioning tools
fc8e45c feat: unpack GWC to LUAC (+media)
888a821 feat: ByteReader Read bytes of a given file.
f1ed153 feat: a CLI endpoint

It is the same repo as in the #54 issue that had a problem with tag prefix, but at least then it was producing some output. Now it's just

➜ auto-changelog --stdout
# Changelog


➜ auto-changelog --stdout --tag-prefix 'v'
# Changelog


➜ auto-changelog --stdout --tag-pattern '.*'
# Changelog

pranasziaukas avatar Aug 06 '20 09:08 pranasziaukas

Would be good to have some debugging options.

pranasziaukas avatar Aug 06 '20 10:08 pranasziaukas

I agree. Some work already merged. Kudos to @stdtom.

KeNaCo avatar Sep 06 '20 20:09 KeNaCo

I have the same problem as @pranasziaukas, 0.4.0 is still working, but not 0.5.x, the same output :'(

icamposrivera avatar Oct 13 '20 14:10 icamposrivera

Better late than never.

I checked @pranasziaukas repository. Auto-changelog first builds an index of release tags and indexes them by the commit. Then iterates over commits in the current branch (if not set otherwise) and tries to match commits to the index. If we have a match, we consider all commits below as part of the release until the next hit.

Another vital thing to remember is that annotated tags are created as new commits.

So in the @pranasziaukas case, annotated tags were never merged back to the master, this is visible in the git graph. Auto-changelog scans all commits but never hits an index and because --unreleased was not used, all commits are skipped. This behaviour is not new, I tested the repo first with v0.4 and had the same output.

I tried to checkout to tag (v0.3.1) and the output seems fine. I also tried to use --unreleased and everything looks fine to me.

KeNaCo avatar Nov 20 '22 19:11 KeNaCo