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

Automate chocolatey releases #156

Open
rjatkins opened this issue Mar 5, 2020 · 7 comments
Open

Automate chocolatey releases #156

rjatkins opened this issue Mar 5, 2020 · 7 comments

Comments

@rjatkins
Copy link

rjatkins commented Mar 5, 2020

Releases 1.5.3 and 1.5.4 haven't been released to chocolatey yet, and need to be manually done. It would be better if these releases were automatically done as part of releasing the main package, rather than a manual step afterwards. The automation should handle updating the version in the nvs.nuspec and chocolateyinstall.ps1 (for the download URL).

@pchmielinski
Copy link

@molant I see you implemented chocolatey packaging for this repository in #91 and later updated it to 1.5.2 in #121. It would be nice if we could get newer versions deployed to chocolatey as well.

In the original PR, a script to automate this was already discussed and wasn't deemed that necessary due to low ROI. However, I guess the assumption was that updating the chocolatey files would be done manually by @jasongin on new release, which doesn't seem to be the case :). One possible reason is that the chocolatey/README.md doesn't have a short TL;DR section on how to upgrade the package on chocolatey.org - @jasongin did mention in the original PR he's not very familiar with Chocolatey.

I see the version bump PR is really straightforward, but I assume updating the package on chocolatey.org requires being the package maintainer, so it's not something the community can solve on its own.

@molant
Copy link
Contributor

molant commented Apr 3, 2020

Hi all,

Unfortunately I don't have any spare time these days (family has grown a bit) and I don't have write permissions in this repo neither.
If @jasongin is OK I could give admin permissions to someone in the chocolatey package so it can be updated more often. I took a quick look at the docs in the chocolatey and it seems like there are tools to automate now the publishing of new versions? Might be worth exploring.

Sorry I can't bring better news 😞

@zsoltlengyelit
Copy link
Contributor

hi,
@molant I'm open to take the task if @jasongin is ok with it too.

@molant
Copy link
Contributor

molant commented Feb 1, 2021

I'll be fine too if everyone is onboard 😊

@jasongin
Copy link
Owner

jasongin commented Feb 1, 2021

Hi, I don't have much time to work on automating chocolatey releases. If someone else wants to work on that, great. However be aware that the Windows MSI build process runs on an internal build agent so that the MSI packages can get a Microsoft digital signature. (The MSI build files are all in the repo though.) That means it wouldn't be possible for someone else to build a release package. But maybe publishing to chocolatey can be done as a separate step that pulls from the GitHub release.

Currently I don't think I can publish an update to the chocolatey package anyway, since I'm not a maintainer there. Maybe @molant can add more maintainers?

@molant
Copy link
Contributor

molant commented Feb 1, 2021

Maybe @molant can add more maintainers?

Definitely, just let me know your chocolatey usernames and I can add you.

But maybe publishing to chocolatey can be done as a separate step that pulls from the GitHub release.

IIRC that's the way it works. The files point to the MSI in GitHub with the right checksum.

@MrJithil
Copy link

I can volunteer for this activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants