Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 86a20ff

Browse files
committed
Version 1.1 (#16)
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
1 parent 6458c76 commit 86a20ff

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

OctopusStepTemplateCi/OctopusStepTemplateCi.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ limitations under the License.
2727
RootModule = 'OctopusStepTemplateCi.psm1'
2828

2929
# Version number of this module.
30-
ModuleVersion = '1.0'
30+
ModuleVersion = '1.1'
3131

3232
# ID used to uniquely identify this module
3333
GUID = 'd9623624-9b21-4bd0-95b8-076589f1fab3'

appveyor.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.0.{build}
1+
version: 1.1.{build}
22
branches:
33
only:
44
- master
@@ -70,6 +70,7 @@ deploy:
7070
on:
7171
branch: master
7272
Publish: true
73+
PublishRelease: true
7374
- provider: GitHub
7475
release: Release - $(APPVEYOR_REPO_TAG_NAME) - ($(APPVEYOR_BUILD_VERSION))
7576
description: 'TODO: Enter description before publishing release'
@@ -85,7 +86,7 @@ after_deploy:
8586
- ps: >-
8687
if ($env:Publish -eq "true") {
8788
Install-PackageProvider -Name NuGet -Force
88-
Publish-Module -Name OctopusStepTemplateCi -NuGetApiKey $env:PowerShellGalleryApiKey -LicenseUri "http://www.apache.org/licenses/LICENSE-2.0.html"
89+
Publish-Module -Path '.\OctopusStepTemplateCi' -NuGetApiKey $env:PowerShellGalleryApiKey -LicenseUri "http://www.apache.org/licenses/LICENSE-2.0.html"
8990
}
9091
on_failure:
9192
- ps: >-
@@ -94,4 +95,4 @@ on_failure:
9495
$blockRdp = $true
9596
9697
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
97-
98+

0 commit comments

Comments
 (0)