mirror of https://github.com/SixLabors/ImageSharp
7 changed files with 19 additions and 57 deletions
@ -1,9 +0,0 @@ |
|||||
# Use mainline mode to match our development approach. |
|
||||
# https://gitversion.readthedocs.io/en/latest/input/docs/reference/versioning-modes/mainline-development/ |
|
||||
mode: Mainline |
|
||||
continuous-delivery-fallback-tag: ci |
|
||||
branches: |
|
||||
master: |
|
||||
tag: unstable |
|
||||
pull-request: |
|
||||
tag: pr |
|
||||
@ -1,11 +1,6 @@ |
|||||
param( |
|
||||
[Parameter(Mandatory, Position = 0)] |
|
||||
[string]$version |
|
||||
) |
|
||||
|
|
||||
dotnet clean -c Release |
dotnet clean -c Release |
||||
|
|
||||
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY" |
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY" |
||||
|
|
||||
# Building for packing and publishing. |
# Building for packing and publishing. |
||||
dotnet pack -c Release --output "$PSScriptRoot/artifacts" /p:packageversion=$version /p:RepositoryUrl=$repositoryUrl |
dotnet pack -c Release --output "$PSScriptRoot/artifacts" /p:RepositoryUrl=$repositoryUrl |
||||
|
|||||
Loading…
Reference in new issue