Skip to content

Commit

Permalink
fixes #74 - updated to PublishCodeCoverageResults 2
Browse files Browse the repository at this point in the history
  • Loading branch information
techthoughts2 committed Apr 13, 2024
1 parent e6f55ec commit 76ac806
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.3.0]
## [2.4.0]

- Catesta template module changes
- Catesta now supports namespaced modules (ex. `MyModule.Utils` )
- CI/CD Changes:
- Azure:
- Updated `PublishCodeCoverageResults@1` to `PublishCodeCoverageResults@2`
- Catesta primary module changes
- Updated build file to use new regex pattern for deriving module name
- Added tests for namespaced module creation
Expand Down
2 changes: 1 addition & 1 deletion docs/Catesta.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Module Name: Catesta
Module Guid: 6796b193-9013-468a-b022-837749af2d06
Download Help Link: NA
Help Version: 2.3.0
Help Version: 2.4.0
Locale: en-US
---

Expand Down
2 changes: 1 addition & 1 deletion src/Catesta/Catesta.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'Catesta.psm1'

# Version number of this module.
ModuleVersion = '2.3.0'
ModuleVersion = '2.4.0'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
8 changes: 4 additions & 4 deletions src/Catesta/Resources/Azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if ($PLASTER_PARAM_AzureOptions -eq 'windows') {
testRunTitle: 'ps_winLatest'
failTaskOnFailedTests: true
displayName: "Publish Unit Test Results - Windows PowerShell"
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
inputs:
summaryFileLocation: '**\Artifacts\ccReport\CodeCoverage.xml'
pathToSources: '$(System.DefaultWorkingDirectory)\src\Artifacts\ccReport'
Expand Down Expand Up @@ -65,7 +65,7 @@ if ($PLASTER_PARAM_AzureOptions -eq 'pwshcore') {
testRunTitle: 'pwsh_winLatest'
failTaskOnFailedTests: true
displayName: "Publish Unit Test Results - Windows pwsh"
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
inputs:
summaryFileLocation: '**\Artifacts\ccReport\CodeCoverage.xml'
pathToSources: '$(System.DefaultWorkingDirectory)\src\Artifacts\ccReport'
Expand Down Expand Up @@ -101,7 +101,7 @@ if ($PLASTER_PARAM_AzureOptions -eq 'linux') {
testRunTitle: 'pwsh_ubuntuLatest'
failTaskOnFailedTests: true
displayName: "Publish Unit Test Results - Linux"
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
inputs:
summaryFileLocation: '**/Artifacts/ccReport/CodeCoverage.xml'
pathToSources: '$(System.DefaultWorkingDirectory)/src/Artifacts/ccReport'
Expand Down Expand Up @@ -137,7 +137,7 @@ if ($PLASTER_PARAM_AzureOptions -eq 'macos') {
testRunTitle: 'pwsh_macOSLatest'
failTaskOnFailedTests: true
displayName: "Publish Unit Test Results - macOS"
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
inputs:
summaryFileLocation: '**/Artifacts/ccReport/CodeCoverage.xml'
pathToSources: '$(System.DefaultWorkingDirectory)/src/Artifacts/ccReport'
Expand Down
2 changes: 1 addition & 1 deletion src/Catesta/Resources/Module/plasterManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<metadata>
<name>Catesta</name>
<id>258a61ba-566b-4c3a-8230-c2b6861a1a8d</id>
<version>2.3.0</version>
<version>2.4.0</version>
<title>Catesta</title>
<description>Scaffolds a new PowerShell module project</description>
<author>Jake Morrison</author>
Expand Down
2 changes: 1 addition & 1 deletion src/Catesta/Resources/Vault/plasterManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<metadata>
<name>Catesta</name>
<id>d531e058-52b8-4dd2-8162-01c95d1eb8f7</id>
<version>2.3.0</version>
<version>2.4.0</version>
<title>Catesta</title>
<description>Scaffolds a new PowerShell SecretManagement extension vault module project</description>
<author>Jake Morrison</author>
Expand Down

0 comments on commit 76ac806

Please sign in to comment.