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

Allow and Ignore Non-semver tags #77

Merged
merged 2 commits into from
Sep 3, 2021
Merged

Allow and Ignore Non-semver tags #77

merged 2 commits into from
Sep 3, 2021

Conversation

masonkatz
Copy link
Contributor

#76

This is broken up into two commits. The first just converts the error to a warning, and writes to stderr. The second adds a test, but also reworks the order_test.go code from my previous PR to add a testRepo to reduce some test boiler plate.

Please let me know what you think, both about the behavior change and how best to address it.

Pulled out some code from the Order test into a testRepo struct to
simplify writing tests.
Copy link
Collaborator

@djgilcrease djgilcrease left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Sep 2, 2021

Codecov Report

Merging #77 (675a64e) into master (7ac7e9a) will increase coverage by 0.59%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   22.06%   22.66%   +0.59%     
==========================================
  Files          15       15              
  Lines         630      631       +1     
==========================================
+ Hits          139      143       +4     
+ Misses        470      468       -2     
+ Partials       21       20       -1     
Impacted Files Coverage Δ
init.go 58.90% <100.00%> (+4.73%) ⬆️

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 7ac7e9a...675a64e. Read the comment docs.

@djgilcrease djgilcrease merged commit 9afb6ad into goreleaser:master Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants