Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

.github_changelog_generator via parameter#969

Answeredbycilerler
cilerler asked this question inQ&A
Discussion options

Is it possible to set the.github_changelog_generator file as a parameter?

I need to run thegithub-changelog-generator twice, one to update the changelog file, another one is for release notes(which is simply the latest tag w/o changelog header, etc)

Is there a way to set it per command?

You must be logged in to vote

I found it, the following undocumented syntax handles it

github_changelog_generator --config-file .github_releasenotes_generator

Replies: 2 comments 4 replies

Comment options

That is not settable. Hope this helps!

You must be logged in to vote
1 reply
@olleolleolle
Comment options

Haha, I was wrong, and the help can be seen in the CLI --help:

        --config-file CONFIG-FILE    Path to configuration file. Default is .github_changelog_generator.
Comment options

I found it, the following undocumented syntax handles it

github_changelog_generator --config-file .github_releasenotes_generator
You must be logged in to vote
3 replies
@olleolleolle
Comment options

Ah, would you be up for including that in the CLI help? Or rather, where you first expected to find it.

Or, how was it not documented, you mean? Where did you learn about it and where did you first expect it to be?

@cilerler
Comment options

It should be onthis page so I would be able to identify it without asking.

I saw the list below in the CI's output and caught my attention.

:date_format=>"%Y-%m-%d":output=>"CHANGELOG.md":base=>"HISTORY.md":issues=>true:add_issues_wo_labels=>true:add_pr_wo_labels=>true:pulls=>true:filter_issues_by_milestone=>true:issues_of_open_milestones=>true:author=>true:unreleased=>true:unreleased_label=>"Unreleased":compare_link=>true:exclude_labels=>["duplicate", "question", "invalid", "wontfix", "Duplicate", "Question", "Invalid", "Wontfix", "Meta: Exclude From Changelog"]:summary_labels=>["Release summary", "release-summary", "Summary", "summary"]:breaking_labels=>["backwards-incompatible", "Backwards incompatible", "breaking"]:enhancement_labels=>["enhancement", "Enhancement", "Type: Enhancement"]:bug_labels=>["bug", "Bug", "Type: Bug"]:deprecated_labels=>["deprecated", "Deprecated", "Type: Deprecated"]:removed_labels=>["removed", "Removed", "Type: Removed"]:security_labels=>["security", "Security", "Type: Security"]:configure_sections=>{}:add_sections=>{}:issue_line_labels=>[]:max_issues=>nil:simple_list=>false:ssl_ca_file=>nil:verbose=>true:header=>"# Changelog":merge_prefix=>"**Merged pull requests:**":issue_prefix=>"**Closed issues:**":summary_prefix=>"":breaking_prefix=>"**Breaking changes:**":enhancement_prefix=>"**Implemented enhancements:**":bug_prefix=>"**Fixed bugs:**":deprecated_prefix=>"**Deprecated:**":removed_prefix=>"**Removed:**":security_prefix=>"**Security fixes:**":http_cache=>true:require=>[]:config_file=>".github_changelog_generator":user=>"cilerler":project=>"orange":token=>"hidden value"
@olleolleolle
Comment options

I did now add it to that page, which always risks becoming out of date.

github_changelog_generator --help

will output stuff like:

    --config-file CONFIG-FILE    Path to configuration file. Default is .github_changelog_generator.
Answer selected bycilerler
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@cilerler@olleolleolle

[8]ページ先頭

©2009-2025 Movatter.jp