Skip to content

Commit

Permalink
Fixes #397 (#398)
Browse files Browse the repository at this point in the history
Co-authored-by: Gael <[email protected]>
  • Loading branch information
raandree and gaelcolas authored Nov 1, 2022
1 parent faa144b commit acd150e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`Get-SamplerModuleRootPath` are currently built. The code that was
reverted handles resolving the wildcard (`*`) in the returned paths
from the mentioned commands.
- `RequiredModules.psd1.template`
- Fixes #397, `ModuleType` Plaster parameter.
- `Resolve-Dependency.ps1`
- Fixes #394, `AllowPrerelease` is ignored for bootstrap.
- `module.tests.ps1.template`
Expand Down
4 changes: 2 additions & 2 deletions Sampler/Templates/Build/RequiredModules.psd1.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
ChangelogManagement = 'latest'
Sampler = 'latest'
<%
If ($PLASTER_PARAM_ModuleType -in @('dsccommunity','SimpleModule','CompleteModule') -or $PLASTER_PARAM_Features -Contains ('All') -or $PLASTER_PARAM_Features -Contains ('DSCResources')) {
If ($PLASTER_PARAM_ModuleType -in @('dsccommunity','CompleteSample','CompleteModule') -or $PLASTER_PARAM_Features -Contains ('All') -or $PLASTER_PARAM_Features -Contains ('DSCResources')) {
@"
'Sampler.GitHubTasks' = 'latest'
MarkdownLinkCheck = 'latest'
"@
}
%>
<%
If ($PLASTER_PARAM_ModuleType -in @('dsccommunity','CompleteModule') -or $PLASTER_PARAM_Features -Contains ('All') -or $PLASTER_PARAM_Features -Contains ('DSCResources')) {
If ($PLASTER_PARAM_ModuleType -in @('dsccommunity','CompleteSample') -or $PLASTER_PARAM_Features -Contains ('All') -or $PLASTER_PARAM_Features -Contains ('DSCResources')) {
@"
'DscResource.Common' = 'latest'
'DscResource.Test' = 'latest'
Expand Down

0 comments on commit acd150e

Please sign in to comment.