https://github.com/jmgilman/ChocolateyPackageCreator
Powershell module for creating internal Chocolatey packages
https://github.com/jmgilman/ChocolateyPackageCreator
Last synced: 4 months ago
JSON representation
Powershell module for creating internal Chocolatey packages
- Host: GitHub
- URL: https://github.com/jmgilman/ChocolateyPackageCreator
- Owner: jmgilman
- License: mit
- Created: 2021-04-22T20:17:06.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-18T22:35:45.000Z (almost 4 years ago)
- Last Synced: 2024-11-29T00:23:43.315Z (5 months ago)
- Language: PowerShell
- Size: 212 KB
- Stars: 33
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - jmgilman/ChocolateyPackageCreator - Powershell module for creating internal Chocolatey packages (PowerShell)
README
# Chocolatey Package Creator
> Powershell module for creating internal Chocolatey packages## Installation
```
$> Install-Module ChocolateyPackageCreator
```## Usage
For a more in-depth guide, see [Getting Started](https://github.com/jmgilman/ChocolateyPackageCreator/blob/master/docs/getting_started.md). Create a new package template:
```powershell
$> New-ChocolateyPackageConfig C:\my\package
```Modify the contents of the template package to fit the needs of the package
you are trying to create. For more in-depth documentation and examples, see the
`examples` directory. To understand the schema of a package file, see the
[schema documentation](docs/schema.md). When ready, build the package:```powershell
$> $config = Import-PowerShellDataFile 'C:\my\package\package.psd1'
$> $packagePath = New-ChocolateyPackage (Split-Path $configFile) $config |
Build-ChocolateyPackage -OutPath 'C:\my\package\bin'
```And then publish it:
```powershell
$> Publish-ChocolateyPackage `
-Repository 'http://my.nuget.com/repository' `
-ApiKey $env:API_KEY `
-PackageFile $packagePath
```## Features
* Define all package elements in a single configuration file
* Automatically download and scan external files
* Easily extendable with custom logic in the package creation process
* Create and deploy packages with a single module## Meta
Joshua Gilman - [email protected]Distributed under the MIT license. See LICENSE for more information.
https://github.com/jmgilman