Set-DevartPackageInfo

Synopsis

Sets 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>] [-Documentation <string>] [-Version <string>] [<CommonParameters>]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

Default value

Accept pipeline input? false

Accept wildcard characters? false

-Id <string>

Unique identifier for the package you are creating.

Required? true

Position? named

Default value

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

-Documentation <string>

A path to the documentation file or directory.

Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false

<CommonParameters>

This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, InformationAction, InformationVariable, 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.1

Want to Find out More?

Overview

Overview

Take a quick tour to learn all about the key benefits delivered by dbForge DevOps Automation for SQL Server.
Request a demo

Request a demo

If you consider employing the DevOps Automation for your business, request a demo to see it in action.
Ready to start using dbForge DevOps Automation for SQL Server?