Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: get annotated tag message #2730

Merged
merged 1 commit into from
Dec 6, 2021
Merged

feat: get annotated tag message #2730

merged 1 commit into from
Dec 6, 2021

Conversation

caarlos0
Copy link
Member

@caarlos0 caarlos0 commented Dec 4, 2021

this adds a new template field, .Subject, which will contain the annotated tag message if tag is annotated, or the message of the commit it points to.

This can be used on release.name_template, for example 馃

closes #2726

refs  #2726

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 4, 2021
@caarlos0 caarlos0 added the enhancement New feature or request label Dec 4, 2021
@codecov
Copy link

codecov bot commented Dec 4, 2021

Codecov Report

Merging #2730 (8bc3b80) into main (f9687b4) will decrease coverage by 0.01%.
The diff coverage is 76.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2730      +/-   ##
==========================================
- Coverage   84.90%   84.88%   -0.02%     
==========================================
  Files         105      105              
  Lines        7901     7914      +13     
==========================================
+ Hits         6708     6718      +10     
- Misses        978      980       +2     
- Partials      215      216       +1     
Impacted Files Coverage 螖
pkg/context/context.go 100.00% <酶> (酶)
internal/pipe/git/git.go 85.54% <57.14%> (-1.20%) 猬囷笍
internal/testlib/git.go 100.00% <100.00%> (酶)
internal/tmpl/tmpl.go 97.60% <100.00%> (+0.01%) 猬嗭笍

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update f9687b4...8bc3b80. Read the comment docs.

@caarlos0 caarlos0 merged commit 9b9eef0 into main Dec 6, 2021
@caarlos0 caarlos0 deleted the tag-summary branch December 6, 2021 02:23
@github-actions github-actions bot added this to the v1.2.0 milestone Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release description from the Git tag message
1 participant