Skip to content

Commit

Permalink
Version 1.1 (#16)
Browse files Browse the repository at this point in the history
Updating to 1.1 so the package submitted to PsGet contains the updates since release:
* Giving script validation tests their own naming convention (*.ScriptValidationTest.ps1) 
* Excluding Pester unit tests from final nuget package
* Adding new Export-StepTemplate cmdlet to generate Step Template JSON for the community site or manual import into Octopus
* Module manifest file updated to contain PowerShell 5 metadata
* PSScriptAnalyzer reports a consistent number of tests regardless of pass/fail rate
* CI build & publish pipeline: Runs Pester tests & code coverage, PsGet install-module & Import-Module verification that the module still installs and loads, CI publish to GitHub & PowerShell Gallery (PsGet requires manual updating until there is a 'latest' download link for the nupkg file), RDP debug session when build is broken
  • Loading branch information
paulmarsy committed Apr 17, 2016
1 parent 6458c76 commit 86a20ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OctopusStepTemplateCi/OctopusStepTemplateCi.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ limitations under the License.
RootModule = 'OctopusStepTemplateCi.psm1'

# Version number of this module.
ModuleVersion = '1.0'
ModuleVersion = '1.1'

# ID used to uniquely identify this module
GUID = 'd9623624-9b21-4bd0-95b8-076589f1fab3'
Expand Down
7 changes: 4 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.0.{build}
version: 1.1.{build}
branches:
only:
- master
Expand Down Expand Up @@ -70,6 +70,7 @@ deploy:
on:
branch: master
Publish: true
PublishRelease: true
- provider: GitHub
release: Release - $(APPVEYOR_REPO_TAG_NAME) - ($(APPVEYOR_BUILD_VERSION))
description: 'TODO: Enter description before publishing release'
Expand All @@ -85,7 +86,7 @@ after_deploy:
- ps: >-
if ($env:Publish -eq "true") {
Install-PackageProvider -Name NuGet -Force
Publish-Module -Name OctopusStepTemplateCi -NuGetApiKey $env:PowerShellGalleryApiKey -LicenseUri "http://www.apache.org/licenses/LICENSE-2.0.html"
Publish-Module -Path '.\OctopusStepTemplateCi' -NuGetApiKey $env:PowerShellGalleryApiKey -LicenseUri "http://www.apache.org/licenses/LICENSE-2.0.html"
}
on_failure:
- ps: >-
Expand All @@ -94,4 +95,4 @@ on_failure:
$blockRdp = $true
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

0 comments on commit 86a20ff

Please sign in to comment.