---
title: "Repackage"
---
Connects to ProGet to repackage an unstable (pre-release) package into a new package with the same contents.
ProGet::Repackage(
[PackageSource: <text>],
Name: <text>,
[Version: <text>],
NewVersion: <text>,
[Reason: <text>],
[ToFeed: <text>],
[Feed: <text>],
[EndpointUrl: <text>],
[UserName: <text>],
[Password: <text>],
[ApiKey: <text>]
);
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
Package source | text | PackageSource | |
☆ Package name | text | Name | This argument is required. |
Package version | text | Version | Value note: ""attached" (BuildMaster only; otherwise required)". |
☆ New version | text | NewVersion | This argument is required. |
Reason | text | Reason | Value note: "Unspecified". |
To feed | text | ToFeed | Value note: "keep in same feed". |
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". |