A new repository has been created that will automatically release the Chocolatey package for MediaElch and publish it to chocolatey.org! Once a version newer than 2.8.14 is released, this repository will be obsolete. If there are any necessary changes (aside from releasing a new version of MediaElch), please use the following repository for pull requests or issues.
See https://github.com/sumo300/chocolatey-packages-au/tree/master/mediaelch
This is the code I use to publish the MediaElch package to Chocolatey.
- Follow the instructions on chocolatey.org to setup Chocolatey
- Clone this repository and navigate to the folder in PowerShell
Build.ps1
to create the packagechoco install mediaelch -Source "full-directory-path"
to install it locally
And you're done!
When a new release of MediaElch is out in the wild, updating this package is easy:
-
Fork this repository to your local environment
-
Open
src\tools\chocolateyInstall.ps1
and update the URL as necessary -
Open
src\MediaElch.nuspec
and modify the following properties:- version - Set to match the version of MediaElch
- releaseNotes - Set to URL of release notes for new version
-
Commit the changes to a branch and push it to your fork
-
Submit a pull request
After I merge the pull request, I'll publish a new release to Chocolatey so they can review it.