-
Notifications
You must be signed in to change notification settings - Fork 27
Build subset when tagged #649
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
Conversation
aad8b9a
to
d6aa708
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #649 +/- ##
=======================================
Coverage 15.46% 15.46%
=======================================
Files 230 230
Lines 4604 4604
Branches 550 550
=======================================
Hits 712 712
Misses 3864 3864
Partials 28 28 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -9,10 +9,10 @@ | |||
], | |||
"rollForward": false | |||
}, | |||
"gitversion.tool": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont we need gitversion
anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, we don't use it at all. At best it was a convenance to get the current tag but that's little of what we need.
|
||
public static async Task<string> GetPreviousTag(string currentTag) | ||
{ | ||
var (lastTag, _) = await ReadAsync("git", $"describe --abbrev=0 --tags {currentTag}^"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this consider the versioned tags? as use case scenario, if someone push a tag for any reason to anchor a commit, we could get the wrong state by any chance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a tag is a tag....we parse it and it fails the build
does math between two tags and use affected when patch
found nuget changes too:
