parent
2eefdc0325
commit
52b9e52c1b
@ -0,0 +1,16 @@
|
|||||||
|
[CmdletBinding()]
|
||||||
|
param (
|
||||||
|
[Parameter(Mandatory=$true)]
|
||||||
|
[string]
|
||||||
|
$version
|
||||||
|
)
|
||||||
|
|
||||||
|
Update-Changelog -ReleaseVersion $version -LinkMode Automatic -LinkPattern @{
|
||||||
|
FirstRelease = "https://github.com/rcdailey/trash-updater/releases/tag/v{CUR}"
|
||||||
|
NormalRelease = "https://github.com/rcdailey/trash-updater/compare/v{PREV}...v{CUR}"
|
||||||
|
Unreleased = "https://github.com/rcdailey/trash-updater/compare/v{CUR}...HEAD"
|
||||||
|
}
|
||||||
|
|
||||||
|
nbgv set-version $version
|
||||||
|
git commit -m "release: v$version" -- CHANGELOG.md version.json
|
||||||
|
git tag -m "release v$version" "v$version"
|
@ -1,15 +0,0 @@
|
|||||||
[CmdletBinding()]
|
|
||||||
param (
|
|
||||||
[Parameter()]
|
|
||||||
[string]
|
|
||||||
$runtime
|
|
||||||
)
|
|
||||||
|
|
||||||
dotnet publish Trash `
|
|
||||||
--output publish `
|
|
||||||
--runtime $runtime `
|
|
||||||
--configuration Release `
|
|
||||||
--self-contained true `
|
|
||||||
-p:PublishSingleFile=true `
|
|
||||||
-p:PublishTrimmed=true `
|
|
||||||
-p:IncludeNativeLibrariesForSelfExtract=true
|
|
Loading…
Reference in new issue