Otter Documentation

proget - Create Package

  • Last Modified: 2020-06-26

This is generated from the built-in components of Otter 2.2, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your Otter instance to see exactly what operations are available.

Create Package

Creates a universal package from the specified directory.

Operation type:

Executing - this operation will perform a specified action or actions on a remote server.

Script usage:

ProGet::Create-Package(
	[From: <text>],
	[Include: <@(text)>],
	[Exclude: <@(text)>],
	[To: <text>],
	[Overwrite: <true/false>],
	[Group: <text>],
	Name: <text>,
	Version: <text>,
	[PackageSource: <text>],
	[Metadata: <%(key1: value1, ...)>]
);

Arguments:

Name Format Script Usage Usage Notes
Source directory
text
From
Include
@(text)
Include
See KB#1119 to learn more about masking syntax.
Exclude
@(text)
Exclude
See KB#1119 to learn more about masking syntax.
To
text
To
This may either be a file name or a directory. If the value ends with .upack, then this is treated as a file name. Otherwise, it is treated as an output directory into which the package file will be written.
Overwrite
true/false
Overwrite
Package group
text
Group
Package name
text
Name
This argument is required.
Package version
text
Version
This argument is required.
Package source
text
PackageSource
When specified, the package will be uploaded to this package source and attached to the current build.
Additional metadata
%(key1: value1, ...)
Metadata
Additional properties may be specified using map syntax. For example: %(description: my package description)

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit 46e90aca on master