Open jooola opened 2 years ago
Maybe I am asking for feature that aren't yet implemented. Is there a roadmap / epic somewhere in the project that could describe it's plans for the future ?
I also wanted to try to open a PR with a new release and keep updating this PR until it is merged.
This tool is great idea btw !
Hi @jooola, thanks for giving semantic-release a try, and sorry for the non-existing documentation. 😇 If you use GitHub + GitHub actions you should have a look the go-semantic-release/action repository. With the default configuration, the changelog will be uploaded automatically to GitHub. (I am also not entirely sure if I understand your issue correctly)
To enable manually triggered releases, you would need to configure GitHub Actions with the if
conditional or setup a separate release job with the workflow_dispatch
event.
As it is still a small project we don't have a particular roadmap, but it usually helps to check out the issues page to find currently planned features.
Cheers, Chris
@christophwitzko Thanks for the feedback.
I would like to upload a CHANGELOG.md file generated by the CI back to the repository. I probably didn't explain my use case enough sorry.
Thanks for the tips. Maybe starting to write a FAQ or enabling discussions/question labels will provide some help for new comers ?
I guess the main trouble I have is to know what are the input/output of this tool. If I know if a CHANGELOG.md file get's generated, I could use some other actions/git to push it back to the repo.
Thank you for clarifying. I like the idea to use question labels 👍
You can use the changelog-file
options to generate the CHANGELOG.md
.
- uses: go-semantic-release/action@v1
id: semrel
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
changelog-file: "CHANGELOG.md"
Came across this whilst trying to figure out why my changelog isn't actually being generated... My step is below, it works for versioning and tagging, but it never produces an actual changelog file. I've tried manually creating it just in case but to no avail. I can see from my logs that it's outputting that a changelog is being generated but still nothing... Am I just being dense or is there some other setting needed to allow semrel to update the file and commit back?
- name: Version
uses: go-semantic-release/action@v1
id: semrel
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
force-bump-patch-version: true
changelog-generator-opt: "emojis=true"
changelog-file: "CHANGELOG.md"
prepend: true
Log output:
I've been browsing the different repository to try finding documentation on how to configure or do some task. And I didn't find much documentation.
For instance I was hoping to upload the generated change log back to github from the github actions. But I couldn't find any doc to guide me.
Also I would like to release a version only by manually triggering the CI. Is there a way to do this ?
Did I miss a documentation link somewhere ?