Skip to content

v0.112.1-preview0006

Pre-release
Pre-release
Compare
Choose a tag to compare
@gaelcolas gaelcolas released this 23 Jan 16:58
cdeff23

[v0.112.1-preview0006]

Removed

  • Template file Build/RequiredModules.psd1 that was not used.

Added

  • Added Pipeline to build chocolatey packages.
  • Added Sample to add Chocolatey Package source files.
  • Added New-SamplerPipeline to create build, Sampler Module or Chocolatey pipeline.
  • Extra configuration files for passing to Azure Policy Guest Configuration Package on creation.

Fixed

  • Fixed Resolve-Dependency.ps1 to not fail when PowerShell-yaml module was specified but already loaded (handle on dll). Fixes #335
  • Fixed default source folder to source and not src.
  • Fixed failed loading when there's no project name (when calling Set-SamplerTaskVariable). Fixes #331.
  • Fixed Get-SamplerAbsolutePath returning the wrong path in PowerShell and ISE. Fixes #341.
  • The templates was using the task Create_ChangeLog_GitHub_PR in the meta task
    publish that is also specifically run in a separate Azure Pipelines task. This
    made the task to run twice.
  • Fixed missing full stop (.) in the CONTRIBUTING.md and the template file.
    Fixes #333.

Changed

  • Making sure the Set-SamplerTaskVariable does not fail when there's no
    Module manifest (i.e. when using Sampler for other reasons than building
    a module).
  • Switched the pipeline to use Ubuntu 18.04 instead of Ubuntu 16.04 as the build
    worker for some tasks.
  • Template SimpleModule have been modified to remove unnecessary configuration
    (issue #277).
  • Template files are updated.
    • Module script file no longer contain code that is irrelevant.
    • Now asks if GitVersion should be used.
    • Now asks if CodeCov.io should be used.
    • Now asks for the upstream GitHub organization or account name to be used
      in Azure Pipelines.
    • GitVersion.yml now uses the correct chosen default branch.
    • Codecov.yml now uses the correct chosen default branch.
  • Fixed GuestConfiguration compilation to work with GuestConfiguration module version 4.0.0-preview0002.
  • Set the default type to AuditAndSet, but supporting override by creating a '$GCPackageName.psd1' file along with the config.