git-release icon indicating copy to clipboard operation
git-release copied to clipboard

Introduce env vars for prefix and suffix body content surrounding Changelog

Open tajobe opened this issue 11 months ago • 2 comments

Adds BODY_PREFIX and BODY_SUFFIX optional environment variable configurations to enable augmenting release body contents around the Changlog entries.

For example, I want a suffix after my Changlog in each release explaining the various artifacts produced in the release (fat jar vs online download)


An alternative implementation might be a single variable for eg BODY_FORMAT, which could used something like fmt.Sprintf(rel.BodyFormat, rel.Changelog)

tajobe avatar May 11 '25 02:05 tajobe

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.14%. Comparing base (ec9c5b5) to head (18abcd2). Report is 16 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #145   +/-   ##
=======================================
  Coverage   95.14%   95.14%           
=======================================
  Files           2        2           
  Lines         309      309           
=======================================
  Hits          294      294           
  Misses         10       10           
  Partials        5        5           
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar May 11 '25 02:05 codecov[bot]

Thanks @tajobe, that is a good idea. I will evaluate the full template approach aside (#146)

anton-yurchenko avatar Jun 06 '25 01:06 anton-yurchenko