Closed Mrtenz closed 9 months ago
This should be unblocked now.
Hmm. It doesn't look like the CHANGELOG needs that extra line for some reason.
Inikowu-Isaac.zip package.json
It looks like when we validate the changelogs in CI, we manually run yarn auto-changelog
. Perhaps we should not do this anymore? I see that we are doing this because we may need to pass --rc
depending on whether the current branch is a release branch or not, but we could extract the existing lint:changelog
package script to a shell script and then add the same if
statement that exists in the CI config. That way it gets run consistently locally and in CI.
It looks like when we validate the changelogs in CI, we manually run
yarn auto-changelog
. Perhaps we should not do this anymore? I see that we are doing this because we may need to pass--rc
depending on whether the current branch is a release branch or not, but we could extract the existinglint:changelog
package script to a shell script and then add the sameif
statement that exists in the CI config. That way it gets run consistently locally and in CI.
I just swapped it out for yarn lint:changelog
, which seems to work fine, and seems easier than adding a script.
Ah I think the PR I merged might have created merge conflicts, sorry.
This enables Prettier for changelog validation.