mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-09 05:24:55 +00:00
Use GitHub actions for Build and Deploying to NuGet #394
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adamhathcock on GitHub (Apr 3, 2020).
Need to modernize more as I'm doing professionally.
@digitalcoyote commented on GitHub (Oct 3, 2020):
I'd be willing to try and throw this together if I can get some information on it:
@adamhathcock commented on GitHub (Oct 3, 2020):
Have to build on windows for full framework target for now.
I guess this would be the time to have a release branch for actual nuget push activation.
I'll set up secrets if I know what to do 😬
@digitalcoyote commented on GitHub (Oct 16, 2020):
I finally got around to starting on this.
I'm currently working under the assumption of using gitversion and passing the version as an argument to the build script (so it can be ignored and allow the project to be built if gitversion is not installed). I hope to have it running without the actual nuget publish later tonight.
@adamhathcock commented on GitHub (Oct 19, 2020):
So far I've been doing things manually as changes have been few and very long inbetween. Not sure how I feel about transitioning to GitVersion and auto-magic releasing.
Does doing gh release roll up PRs and/or issues into it? What kind of tagging am I going to have to switch to?
@digitalcoyote commented on GitHub (Oct 19, 2020):
I set the release up so it would only make Draft Releases (creates the tag for the commit using the version that was generated. I can rip both of those out fairly easily.
I can set the action to specifically ignore PR's and only look at the release branch (for testing I was using master). The tagging is the same that is used if you let GitHub create the tag by specifying a new tag name for a release. I set it up to use the version as the tag (I believe this should match the current convention).
If you wanted these to be there in case you ever decide to switch to it, I can comment it out as well and add a few extra lines to document what each piece is doing. I haven't fully switched to automatic releases yet myself.
@digitalcoyote commented on GitHub (Oct 19, 2020):
I'm starting work, but before I forget, I was looking into it, and if you want to use Manual Release, I can set the workflow to trigger on Release in addition to PR/Push, but only publish to NuGet on Release.
Let me know what you feel comfortable with and I'll see what I can do to make it happen.
@adamhathcock commented on GitHub (Oct 20, 2020):
Thanks for this @digitalcoyote, I really appreciate the eagerness to help.
I'm going to have not change the release strategy at this time. Personally, I have very little time to devote to this project and there does not seem any interest in co-maintainers or major contributions to justify me changing anything significant in how this project is managed. I just don't have the headspace to wrap my head around it.
I don't want to discourage you from contributing to this project or any other. I hope you keep contributing!