diff --git a/Carbon/Carbon.psd1 b/Carbon/Carbon.psd1 index 907a78a5..6b949ec5 100644 --- a/Carbon/Carbon.psd1 +++ b/Carbon/Carbon.psd1 @@ -345,6 +345,8 @@ All functions are idempotent: when run multiple times with the same arguments, y # A URL to the main website for this project. ProjectUri = 'http://get-carbon.org/' + Prerelease = '' + # ReleaseNotes of this module ReleaseNotes = @' * Carbon should now import in less than a second. diff --git a/whiskey.yml b/whiskey.yml index 0b698c8c..5dcb25a3 100644 --- a/whiskey.yml +++ b/whiskey.yml @@ -1,9 +1,12 @@ PublishOn: - master + - prerelease Build: - Version: Path: Carbon\Carbon.psd1 + Prerelease: + - prerelease: rc$(WHISKEY_BUILD_NUMBER) - PowerShell: OnlyBy: BuildServer Path: Save-CarbonSigningKey.ps1 @@ -193,11 +196,15 @@ Publish: RepositoryUri: https://www.powershellgallery.com/api/v2/ ApiKeyID: powershellgallery.com - NuGetPush: + OnlyOnBranch: + - master UnlessExists: env:APPVEYOR_PULL_REQUEST_NUMBER Uri: https://nuget.org/api/v2/package ApiKeyID: nuget.org SkipUploadedCheck: true - NuGetPush: + OnlyOnBranch: + - master UnlessExists: env:APPVEYOR_PULL_REQUEST_NUMBER Uri: https://chocolatey.org/api/v2/package ApiKeyID: chocolatey.org