mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
311 B
11 lines
311 B
param(
|
|
[Parameter(Mandatory, Position = 0)]
|
|
[string]$version
|
|
)
|
|
|
|
dotnet clean -c Release
|
|
|
|
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY"
|
|
|
|
# Building for packing and publishing.
|
|
dotnet pack -c Release --output "$PSScriptRoot/artifacts" /p:packageversion=$version /p:RepositoryUrl=$repositoryUrl
|
|
|