Set-DevartPackageInfo

Synopsis

Set the properties to identify a package before export and/or publish DatabaseProject.

Description

The cmdlet creates a build artifact from the validated project produced by the Invoke-DevartDatabaseBuild cmdlet.

Syntax

Set-DevartPackageInfo -Id <string> -Project <DatabaseProject> [-Description <string>] [-Version <string>] [<CommonParameters>]

Parameters

-Project <DatabaseProject>

Output object of the Invoke-DevartDatabaseBuild or New-DevartDatabaseProject cmdlets which return the DatabaseProject.

Required? true

Position? named

Accept pipeline input? false

Accept wildcard characters? false

-Id <string>

Unique identifier for the package you are creating.

Required? true

Position? named

Accept pipeline input? false

Accept wildcard characters? false

-Version <string>

Version of the package. It must be in a valid NuGet version format (e.g. 1.0.1-beta).

Required? false

Position? named

Default value 1.0.0

Accept pipeline input? false

Accept wildcard characters? false

-Description <string>

Description of the package you are creating.

Required? false

Position? named

Default value Automatically generated by Devart dbForge DevOps Automation PowerShell for SQL Server.

Accept pipeline input? false

Accept wildcard characters? false

<CommonParameters>

This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see About CommonParameters.

Outputs

System.Boolean (returns true on success and false otherwise)

Examples

Set-DevartPackageInfo -Project $databaseProject -Id Devart.DbForge.DevOpsAutomation.ScriptFolder -Version 1.0.0-beta