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

`lerna-changelog` doesn't work as expected

Open villander opened this issue 2 years ago • 3 comments

By default lerna-changelog will show all pull requests that have been merged since the latest tagged commit in the repository.

After merge a PR with the correct label, the lerna-changelog generated a empty changelog. I've been using the last version 1.0.1.

➜  ember-engines-router-service git:(master) ✗ lerna-changelog


➜  ember-engines-router-service git:(master) ✗ 

The public repo: https://github.com/villander/ember-engines-router-service

villander avatar Jul 12 '21 18:07 villander

FWIW I see a couple PRs show up when testing locally:

~/tmp ✗  node -v
v14.15.4

~/tmp ✗  yarn -v
1.22.5

~/tmp ✗  git clone https://github.com/villander/ember-engines-router-service && cd ember-engines-router-service/

...

~/tmp/ember-engines-router-service master ✗  yarn && yarn changelog

yarn run v1.22.5
$ lerna-changelog

## Unreleased (2021-07-22)

#### :bug: Bug Fix
* [#39](https://github.com/villander/ember-engines-router-service/pull/39) Make transitionTo work with url as an argument ([@SergeAstapov](https://github.com/SergeAstapov))

#### :memo: Documentation
* [#3](https://github.com/villander/ember-engines-router-service/pull/3) Update README ([@jenweber](https://github.com/jenweber))

#### Committers: 3
- Jen Weber ([@jenweber](https://github.com/jenweber))
- Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov))
- [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview)
✨  Done in 2.35s.

contolini avatar Jul 22 '21 21:07 contolini

Me too, don't know how.

iamyoki avatar Sep 07 '21 03:09 iamyoki

@villander if this was in a github action, possibly the fetch-depth for the checkout needs to be set to 0?

runspired avatar Mar 05 '22 02:03 runspired

I am facing the same issue as @villander lerna-changelog is empty Can anyone help me with this This is my PR - https://github.com/yeshamavani/release-auto/pull/1 I have created a new lable named fix in my repo https://github.com/yeshamavani/release-auto/labels

yeshamavani avatar Aug 17 '22 10:08 yeshamavani

there is no label on the https://github.com/yeshamavani/release-auto/pull/1 PR

Turbo87 avatar Aug 17 '22 10:08 Turbo87

@Turbo87 I am unaware about adding lables to PR how can I do that?

yeshamavani avatar Aug 17 '22 10:08 yeshamavani

hi I got it solved Thanks !!!

yeshamavani avatar Aug 17 '22 11:08 yeshamavani

I'm closing it since I got it working from here https://github.com/lerna/lerna-changelog/issues/461#issuecomment-885256340

villander avatar Aug 17 '22 14:08 villander