--- title: "Repackage" ---
This is generated from the built in components of Otter 2024.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Operations within your Otter instance to see exactly what operations are available.

Connects to ProGet to repackage an unstable (pre-release) package into a new package with the same contents.

Script usage:

ProGet::Repackage(
	[PackageSource: <text>],
	Name: <text>,
	[Version: <text>],
	NewVersion: <text>,
	[Reason: <text>],
	[ToFeed: <text>],
	[Feed: <text>],
	[EndpointUrl: <text>],
	[UserName: <text>],
	[Password: <text>],
	[ApiKey: <text>],
	[Group: <text>],
	[FeedUrl: <text>]
);

Arguments:

NameFormatScript UsageUsage Notes
Package source
text
PackageSource
Package name
text
Name
This argument is required.
Package version
text
Version
New version
text
NewVersion
This argument is required.
Reason
text
Reason
To feed
text
ToFeed
Feed name
text
Feed
API endpoint URL
text
EndpointUrl
ProGet user name
text
UserName
The name of a user in ProGet that can access this feed.
ProGet password
text
Password
The password of a user in ProGet that can access this feed.
ProGet API Key
text
ApiKey
An API Key that can access this feed.
Group
text
Group
FeedUrl
text
FeedUrl