---
title: "Promote Package"
---
Promotes a package from one feed to another in a ProGet instance.
ProGet::Promote(
[PackageSource: <text>],
Name: <text>,
Version: <text>,
[ToFeed: <text>],
[Reason: <text>],
[To: <text>],
[Feed: <text>],
[EndpointUrl: <text>],
[UserName: <text>],
[Password: <text>],
[ApiKey: <text>],
[Group: <text>],
[FeedUrl: <text>]
);
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
Package source | text | PackageSource | |
☆ Package name | text | Name | This argument is required. |
☆ Package version | text | Version | This argument is required. |
Promote to Feed | text | ToFeed | |
Reason | text | Reason | |
To source | text | To | |
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 |