changelog-generator | markdown changelog document from a GitHub milestone | Generator Utils library
kandi X-RAY | changelog-generator Summary
kandi X-RAY | changelog-generator Summary
This library will generate a changelog markdown document from a GitHub milestone. It is based off of weierophinney/changelog_generator.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Link issues .
- Groups issues by their labels .
- Create Issue .
- Generate issue group name .
- Get labels .
- Get title .
- Groups issues by their labels .
- Get issue to group .
changelog-generator Key Features
changelog-generator Examples and Code Snippets
Community Discussions
Trending Discussions on changelog-generator
QUESTION
I am trying to create a workflow for my repo using an action which auto generates a changelog. Ideally the generated changelog should be present in the root of the master branch. But the build log of the workflow states that the CHANGELOG.md file has been stored in /github/workspace. How to solve this problem or how to access the CHANGELOG.md file?
...ANSWER
Answered 2020-Aug-03 at 18:59It outputs the file to your current working directory on your runner. It creates a link between the docker dir the github-changelog-generator-action
is running on.
E.g. /usr/bin/docker run <... omitted> -v "/home/runner/work/TestGithubActions/TestGithubActions":"/github/workspace"
when the repository name containing the workflow is TestGithubActions
.
Adding ls to your workflow
QUESTION
Some projects have a CHANGELOG.md
file where each version links to the range of commits that were made for that version. For example, this one. It looks like these links are automatically generated somehow, because the markdown only contains [1.0.0]
where the rendered document has a link to https://github.com/olivierlacan/keep-a-changelog/compare/v0.3.0...v1.0.0.
How does that work? I've tried to do something like this on my own project, but the rendered document just said [1.0.0]
; no link was generated.
Presumably it has something to do with the tags, which follow a similar pattern (v1.0.0
), but when I tried to create similar tags in my project, it still didn't work.
I also could find no reference to this on the GitHub help, or anywhere else for that matter.
Is this indeed an (undocumented?) feature of GitHub? If yes, how does it work? If no, how do these projects do it?
Note, I'm not interested in automatically generating a changelog from commits like this project does. I'm just interested in the mechanics of these hyperlinks.
...ANSWER
Answered 2018-Nov-11 at 19:45You need to look beneath the surface of the Markdown, it's a simple trick he done by using the file compare feature to compare tags.
If you look at the RAW file, you should notice at the bottom he added links to each version number that has a compare link assigned to it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install changelog-generator
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page