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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add a method on Info to list files to copy to the package #136

Merged
merged 8 commits into from
May 14, 2020

Conversation

dzhu
Copy link
Contributor

@dzhu dzhu commented May 13, 2020

Since iterating over the files to copy to the package is something that
all package formats need, adding a central place for that logic reduces
duplication.

Also sort the list of files as a step toward making builds more
reproducible.

dzhu and others added 2 commits May 13, 2020 00:37
Since iterating over the files to copy to the package is something that
all package formats need, adding a central place for that logic reduces
duplication.

Also sort the list of files as a step toward making builds more
reproducible.
nfpm.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 13, 2020

Codecov Report

Merging #136 into master will increase coverage by 0.86%.
The diff coverage is 72.72%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   72.44%   73.30%   +0.86%     
==========================================
  Files           6        6              
  Lines         519      517       -2     
==========================================
+ Hits          376      379       +3     
+ Misses         90       87       -3     
+ Partials       53       51       -2     
Impacted Files Coverage Δ
deb/deb.go 72.72% <60.00%> (+0.39%) ⬆️
rpm/rpm.go 75.79% <60.00%> (+1.23%) ⬆️
nfpm.go 89.53% <83.33%> (-1.65%) ⬇️

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 14f85b9...355439d. Read the comment docs.

nfpm.go Outdated Show resolved Hide resolved
Copy link
Member

@caarlos0 caarlos0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@caarlos0 caarlos0 added automerge enhancement New feature or request labels May 14, 2020
@kodiakhq kodiakhq bot merged commit a8eb8d7 into goreleaser:master May 14, 2020
@dzhu dzhu deleted the info-files branch May 14, 2020 18:40
@caarlos0
Copy link
Member

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@goreleaser goreleaser locked as resolved and limited conversation to collaborators Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants