WinApi icon indicating copy to clipboard operation
WinApi copied to clipboard

Nuget package

Open mpolicki opened this issue 5 years ago • 4 comments

The last nuget package (4.0.0) was published on 8/21/2017 and there have been changes to the code since then. Could we get more frequent package updates so that we don't have to build from source?

I don't know if there exists a solution where users could request that the project be packaged and published automatically, by clicking a link perhaps. If such a solution does exist, perhaps it would be a good idea?

mpolicki avatar Aug 18 '20 10:08 mpolicki

@mpolicki - Hi, absolutely. I personally haven't used dotnet in a while now, so I'm a bit out of date on this, and GitHub didn't have the inbuilt CI back then (I remember I wanted to automate the publishing which never happened). I'd love for someone to contribute a PR on this with something like a Github actions based workflow on git tags for release and / or a continuous dev for master!

prasannavl avatar Aug 18 '20 17:08 prasannavl

It's been a while, but I've made some progress on this.

I've used the Publish NuGet 2 Github Action on my fork of the repository successfully. What it does is run on every push, and for the specified project (can be multiple in a single job), it checks whether the version in the repository is greater than the version on Nuget. If it is, it builds the project and uploads to Nuget. You can see a run here.

So, to have an update published on Nuget, all that would be required is to increment the version in the project file. Would that be an acceptable workflow for you?

mpolicki avatar Jul 03 '21 02:07 mpolicki

Hi @mpolicki - This is great. Absolutely! I'd love for this to be easier to use! Thank you so much for taking this up and sharing this back. Sorry for the late reply.

prasannavl avatar Jul 15 '21 15:07 prasannavl

No problem :) The pull request is #50

mpolicki avatar Jul 21 '21 19:07 mpolicki