Skip to content

Conversation

tschogge
Copy link

@tschogge tschogge commented Jun 6, 2025

I've created a chocolatey package, which takes care of downloading and placing the binary of the last release to the system and adding it to the system path.

I've created a new section in the README to let the user know, that there is a chocolatey installation available

tschogge added 4 commits June 5, 2025 14:21
Added the chocolatey installation description
Fixed a markdown error
uppercase c in chocolatey
@tschogge
Copy link
Author

@hjbdev can you please take a look at this and tell me if it is okay?

@hjbdev
Copy link
Owner

hjbdev commented Jun 23, 2025

Hey, I appreciate this. I'm a little unsure on how new releases are handled though?

@tschogge
Copy link
Author

Hey, thanks for the response. Currently this is what it looks like: https://github.com/tschogge/php-pvm

If there is a new release, we'd have to upgrade the choco package manually.

@hjbdev
Copy link
Owner

hjbdev commented Jul 8, 2025

If we can get a mechanism for automating releases from this repository then I'd be open to merging

@tschogge
Copy link
Author

I created an auto updater script in the repo, but the problem is, that it would have to be executed every day as a cronjob or something. Do you have a server?

@tschogge
Copy link
Author

tschogge commented Sep 24, 2025

Hello again @hjbdev, I've now finalized the auto update script, and it will be run every day on a Linux server with pwsh, to check if there is a new version of the application and if so, will modify the package and push it to the chocolatey repo.

https://github.com/tschogge/php-pvm/blob/main/update.ps1

@hjbdev
Copy link
Owner

hjbdev commented Oct 1, 2025

Hi, thanks for this. For me the ideal solution would be a GitHub action, then it can be pushed as soon as a new release is triggered

@tschogge tschogge marked this pull request as draft October 1, 2025 13:44
@tschogge tschogge marked this pull request as ready for review October 1, 2025 14:43
@tschogge
Copy link
Author

tschogge commented Oct 1, 2025

I've now created a GitHub action. I think you'll need to add the chocolatey package key as a repo secret, or add the permission, so that I can create the secret and add the key.

Is this good? @hjbdev

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

Successfully merging this pull request may close these issues.

2 participants