Publish-BitbucketDownload

Creates and publishes a ZIP file to Bitbucket so it is available on a project's download page.

Syntax

Publish-BitbucketDownload [[-Credential] <PSCredential>] [-Username] <String> [-ProjectName] <String> [-Path] <String[]> [-ManifestPath] <String> [<CommonParameters>]

Description

The Publish-BitbucketDownload function creates a ZIP file and publishes it to a repository so it is availabe on a project's download page. If the file already exists on Bitbucket, nothing is uploaded.

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
Credential PSCredential

The Bitbucket credentials to use.

false false
Username String

The account of the project you're uploading a file to.

true false
ProjectName String

The name of the project you're uploading a file to.

true false
Path String[]

The paths to the files and directories to include in the ZIP file. All files and sub-directories under directory are added.

true false
ManifestPath String

The path to the manifest of the module being published.

true false