├── .actrc ├── .config └── dotnet-tools.json ├── .github └── workflows │ └── press.yml ├── .gitignore ├── .vscode ├── extensions.json └── settings.json ├── Images └── Press.png ├── LICENSE ├── PSModule.build.ps1 ├── PSScriptAnalyzerSettings.psd1 ├── README.MD ├── Scripts └── BootstrapInvokeBuild.ps1 ├── Source ├── Config │ └── RequiredModules.psd1 ├── GitVersion.default.yml ├── Press.psd1 ├── Press.psm1 ├── Press.tasks.ps1 ├── Private │ └── Press-defaultsettings.psd1 └── Public │ ├── Build-ReleaseNotes.Tests.ps1 │ ├── Build-ReleaseNotes.ps1 │ ├── Compress-Module.ps1 │ ├── Copy-ModuleFiles.ps1 │ ├── Get-PublicFunctions.ps1 │ ├── Get-Setting.ps1 │ ├── Get-Version.Tests.ps1 │ ├── Get-Version.ps1 │ ├── Invoke-Clean.ps1 │ ├── New-NugetPackage.Tests.ps1 │ ├── New-NugetPackage.ps1 │ ├── Restore-NugetPackages.ps1 │ ├── Set-ReleaseNotes.Tests.ps1 │ ├── Set-ReleaseNotes.ps1 │ ├── Set-Version.ps1 │ ├── Test-Pester.Tests.ps1 │ ├── Test-Pester.ps1 │ ├── Update-GithubRelease.Tests.ps1 │ ├── Update-GithubRelease.ps1 │ └── Update-PublicFunctions.ps1 └── Tests ├── Mocks ├── .keep ├── Get-GithubRelease │ ├── EarlierMajorVersionDraft copy.json │ ├── EarlierMajorVersionDraft.json │ ├── EarlierMinorVersionDraft.json │ ├── ExistingDraft.json │ ├── ExistingPublished.json │ ├── MultiplePastDrafts.json │ ├── Null.json │ └── SameVersionPublishedAndDraft.json ├── ReleaseNotes.txt └── SimpleModule │ ├── SimpleModule.Tests.ps1 │ ├── SimpleModule.psd1 │ └── SimpleModule.psm1 └── Shared.ps1 /.actrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/.actrc -------------------------------------------------------------------------------- /.config/dotnet-tools.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/.config/dotnet-tools.json -------------------------------------------------------------------------------- /.github/workflows/press.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/.github/workflows/press.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Images/Press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Images/Press.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/LICENSE -------------------------------------------------------------------------------- /PSModule.build.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/PSModule.build.ps1 -------------------------------------------------------------------------------- /PSScriptAnalyzerSettings.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/PSScriptAnalyzerSettings.psd1 -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/README.MD -------------------------------------------------------------------------------- /Scripts/BootstrapInvokeBuild.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Scripts/BootstrapInvokeBuild.ps1 -------------------------------------------------------------------------------- /Source/Config/RequiredModules.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Config/RequiredModules.psd1 -------------------------------------------------------------------------------- /Source/GitVersion.default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/GitVersion.default.yml -------------------------------------------------------------------------------- /Source/Press.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Press.psd1 -------------------------------------------------------------------------------- /Source/Press.psm1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Press.psm1 -------------------------------------------------------------------------------- /Source/Press.tasks.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Press.tasks.ps1 -------------------------------------------------------------------------------- /Source/Private/Press-defaultsettings.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Private/Press-defaultsettings.psd1 -------------------------------------------------------------------------------- /Source/Public/Build-ReleaseNotes.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Build-ReleaseNotes.Tests.ps1 -------------------------------------------------------------------------------- /Source/Public/Build-ReleaseNotes.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Build-ReleaseNotes.ps1 -------------------------------------------------------------------------------- /Source/Public/Compress-Module.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Compress-Module.ps1 -------------------------------------------------------------------------------- /Source/Public/Copy-ModuleFiles.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Copy-ModuleFiles.ps1 -------------------------------------------------------------------------------- /Source/Public/Get-PublicFunctions.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Get-PublicFunctions.ps1 -------------------------------------------------------------------------------- /Source/Public/Get-Setting.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Get-Setting.ps1 -------------------------------------------------------------------------------- /Source/Public/Get-Version.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Get-Version.Tests.ps1 -------------------------------------------------------------------------------- /Source/Public/Get-Version.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Get-Version.ps1 -------------------------------------------------------------------------------- /Source/Public/Invoke-Clean.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Invoke-Clean.ps1 -------------------------------------------------------------------------------- /Source/Public/New-NugetPackage.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/New-NugetPackage.Tests.ps1 -------------------------------------------------------------------------------- /Source/Public/New-NugetPackage.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/New-NugetPackage.ps1 -------------------------------------------------------------------------------- /Source/Public/Restore-NugetPackages.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Restore-NugetPackages.ps1 -------------------------------------------------------------------------------- /Source/Public/Set-ReleaseNotes.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Set-ReleaseNotes.Tests.ps1 -------------------------------------------------------------------------------- /Source/Public/Set-ReleaseNotes.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Set-ReleaseNotes.ps1 -------------------------------------------------------------------------------- /Source/Public/Set-Version.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Set-Version.ps1 -------------------------------------------------------------------------------- /Source/Public/Test-Pester.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Test-Pester.Tests.ps1 -------------------------------------------------------------------------------- /Source/Public/Test-Pester.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Test-Pester.ps1 -------------------------------------------------------------------------------- /Source/Public/Update-GithubRelease.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Update-GithubRelease.Tests.ps1 -------------------------------------------------------------------------------- /Source/Public/Update-GithubRelease.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Update-GithubRelease.ps1 -------------------------------------------------------------------------------- /Source/Public/Update-PublicFunctions.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Source/Public/Update-PublicFunctions.ps1 -------------------------------------------------------------------------------- /Tests/Mocks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/Mocks/Get-GithubRelease/EarlierMajorVersionDraft copy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/Get-GithubRelease/EarlierMajorVersionDraft copy.json -------------------------------------------------------------------------------- /Tests/Mocks/Get-GithubRelease/EarlierMajorVersionDraft.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/Get-GithubRelease/EarlierMajorVersionDraft.json -------------------------------------------------------------------------------- /Tests/Mocks/Get-GithubRelease/EarlierMinorVersionDraft.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/Get-GithubRelease/EarlierMinorVersionDraft.json -------------------------------------------------------------------------------- /Tests/Mocks/Get-GithubRelease/ExistingDraft.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/Get-GithubRelease/ExistingDraft.json -------------------------------------------------------------------------------- /Tests/Mocks/Get-GithubRelease/ExistingPublished.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/Get-GithubRelease/ExistingPublished.json -------------------------------------------------------------------------------- /Tests/Mocks/Get-GithubRelease/MultiplePastDrafts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/Get-GithubRelease/MultiplePastDrafts.json -------------------------------------------------------------------------------- /Tests/Mocks/Get-GithubRelease/Null.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /Tests/Mocks/Get-GithubRelease/SameVersionPublishedAndDraft.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/Get-GithubRelease/SameVersionPublishedAndDraft.json -------------------------------------------------------------------------------- /Tests/Mocks/ReleaseNotes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/ReleaseNotes.txt -------------------------------------------------------------------------------- /Tests/Mocks/SimpleModule/SimpleModule.Tests.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/SimpleModule/SimpleModule.Tests.ps1 -------------------------------------------------------------------------------- /Tests/Mocks/SimpleModule/SimpleModule.psd1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Mocks/SimpleModule/SimpleModule.psd1 -------------------------------------------------------------------------------- /Tests/Mocks/SimpleModule/SimpleModule.psm1: -------------------------------------------------------------------------------- 1 | function Test-SimpleModule { 2 | return $true 3 | } -------------------------------------------------------------------------------- /Tests/Shared.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JustinGrote/Press/HEAD/Tests/Shared.ps1 --------------------------------------------------------------------------------