Skip to content

Commit

Permalink
Publish Carbon release candidates when merging to prerelease branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
splatteredbits committed Sep 16, 2019
1 parent 86d7dbc commit a98f316
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Carbon/Carbon.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 7 additions & 0 deletions whiskey.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a98f316

Please sign in to comment.