You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So there are a number of issues I hit when just trying to test this, so constructively I figured I would lay them out here.
When initially trying to use the package and run artisan changelog:add it fails with a folder creation error. This seems to be due to both .changes and .changes/unreleased not already existing and after manually adding the whole folder structure, it added an xml changelog.
When trying to generate a release, I ran changelog:release, and that worked but no changelog was generated. This was confusing and I had to run changelog:generate separately just to get a changelog added.
Following the last step, the changelog didn't have any content other than the release version I had specified, and the tagline about being generated by this package.
On a subsequent attempt to run changelog:add I was hit by another folder creation error and that's about where I stopped.
Here is the whole command list I ran to get to this point:
mkdir .changes
mkdir .changes/unreleased
artisan changelog:add -v --type=added --message "add new feature"
artisan change:list # This list just said unreleased without the change I had just added
artisan changelog:release 5.15.0
artisan changelog:generate
Contents of the generated CHANGELOG.md:
# Release Notes
## [5.15.0]
This file was generated by [markwalet/laravel-changelog](https://github.com/markwalet/laravel-changelog)
It's potentially worth noting that I'm using the gitflow workflow, so the branch I am on is in the format of feature/<TICKET> as I wonder if the nesting is causing an issue.
OH and one last thing, I already had a changelog in place which this command overwrote so it's also worth noting that you can't use this with an already present CHANGELOG.md
The text was updated successfully, but these errors were encountered:
So there are a number of issues I hit when just trying to test this, so constructively I figured I would lay them out here.
artisan changelog:add
it fails with a folder creation error. This seems to be due to both.changes
and.changes/unreleased
not already existing and after manually adding the whole folder structure, it added an xml changelog.changelog:release
, and that worked but no changelog was generated. This was confusing and I had to runchangelog:generate
separately just to get a changelog added.changelog:add
I was hit by another folder creation error and that's about where I stopped.Here is the whole command list I ran to get to this point:
Contents of the generated CHANGELOG.md:
It's potentially worth noting that I'm using the gitflow workflow, so the branch I am on is in the format of
feature/<TICKET>
as I wonder if the nesting is causing an issue.OH and one last thing, I already had a changelog in place which this command overwrote so it's also worth noting that you can't use this with an already present CHANGELOG.md
The text was updated successfully, but these errors were encountered: