Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Promote Package

Promotes a package from one feed to another in a ProGet instance.

Script usage:

ProGet::Promote(
	[PackageSource: <text>],
	Name: <text>,
	Version: <text>,
	[ToFeed: <text>],
	[Reason: <text>],
	[To: <text>],
	[Feed: <text>],
	[EndpointUrl: <text>],
	[UserName: <text>],
	[Password: <text>],
	[ApiKey: <text>]
);

Arguments:

NameFormatScript UsageUsage Notes
Package source
text
PackageSource
Package name
text
Name
This argument is required.
Package version
text
Version
Default value is "latest". This argument is required.
Promote to Feed
text
ToFeed
Value note: "required if not set in Connection/Identity".
Reason
text
Reason
Value note: "Unspecified".
To source
text
To
Value note: "Same as From package source".
Feed name
text
Feed
Not specifying will "Use Feed from package source".
API endpoint URL
text
EndpointUrl
Not specifying will "Use URL from package source".
ProGet user name
text
UserName
The name of a user in ProGet that can access this feed. Not specifying will "Use user name from package source".
ProGet password
text
Password
The password of a user in ProGet that can access this feed. Not specifying will "Use password from package source".
ProGet API Key
text
ApiKey
An API Key that can access this feed. Not specifying will "Use API Key from package source".