Skip to content

Latest commit

 

History

History
240 lines (190 loc) · 10.4 KB

CHANGELOG.md

File metadata and controls

240 lines (190 loc) · 10.4 KB

5.0.2 - 2022-09-20

Fixed

  • Export-UnreleasedNotes incorrectly checked IsPresent property of a boolean for param -NewRelease. This param was once a switch, but then change to a bool.

5.0.1 - 2022-04-20

Changed

  • Minimum PowerShell version dropped to 5.1 from 7.0

5.0.0 - 2022-04-20

Added

  • New src/Enums folder
  • using statements are taken from all .ps1 files under the src/Classes folder and placed at the top of the .psm1, before inserting class code. Then all over code is inserted; script files under src/Enums, src/Private, and src/Public.

Changed

  • Folder src/Types must now be src/Classes

4.0.7 - 2022-04-14

Changed

  • Renamed name of worklow from CI/CD Pipeline to Pipeline for simplified shields.io

4.0.6 - 2022-04-11

Fixed

  • invoke.build.ps1 did not correctly recreate the build directory folder structure

4.0.4 - 2022-04-11

Fixed

  • invoke.build.ps1 did not correctly recreate the build directory folder structure
  • Invoke-BuildClean did not create folders after deleting them

4.0.3 - 2022-04-10

Fixed

  • Invoke-BuildClean did not delete sub folders

4.0.2 - 2022-04-10

Fixed

  • New-ModuleDirStructure failed to correctly create the about_ text file

4.0.0 - 2022-03-02

Added

  • New mandatory parameter -File for Export-ScriptsToProcess; must provide a scalar or array object of [System.IO.FileSystemInfo] as the file(s) you want concatenated into a single file.

Fixed

  • Actually fixed the Process.ps1 ScriptsToProcess issue, by fixing incorrect script scope variable reference in Export-ScriptsToProcess

3.1.2 - 2022-03-02

Fixed

  • Build script did not create the Process.ps1 script file (for ScriptsToProcess) even if scripts existed under src\ScriptsToProcess

3.1.1 - 2022-03-01

Added

  • Added testResults.xml to .gitignore

3.1.0 - 2022-02-27

Added

  • Update-BuildFiles will not update pipeline.yml if the first line of the file differs with the target file. This helps prevent accidental clobbering when a project might use a customised workflow.

3.0.2 - 2022-02-27

Fixed

  • Workflow step Build failed on scheduled-only runs due to empty changelog

3.0.1 - 2022-02-26

Added

  • Update-BuildFiles deletes build.yml if it exists (due to its rename to pipeline.yml)

Changed

  • Workflow pipeline.yml now has conditional steps applied to steps related to deployment, whereas steps related to build and testing do not. This allows to run daily builds and (optional) integration testing, and only execute deployment related tasks if workflow was invoked via push or workflow_dispatch.
  • Workflow pipeline.yml now runs on a schedule: 11 7 * * *
  • Renamed workflow name and file from build.yml to pipeline.yml

2.1.0 - 2022-02-26

Added

  • New conditional step in build workflow if tests/invoke.tests.ps1 exists

2.0.18 - 2022-02-12

Fixed

  • Update-BuildFiles did not copy gitignore with the leading period... again... ffs

2.0.16 - 2022-02-12

  • Update-BuildFiles did not copy gitignore with the leading period... again... ffs

2.0.13 - 2022-02-12

Fixed

  • Update-BuildFiles did not copy gitignore with the leading period

2.0.11 - 2022-02-12

Added

  • Updated .gitignore to include .DS_Store

Fixed

  • Module manifests can not have files in FileList (leading?) with periods, so changed .gitignore to gitignore and updated Update-BuildFiles to insert the period when copying
  • Now Update-BuildFiles and invoke.build.ps1 include hidden files for the FileList property

2.0.9 - 2022-02-12

Fixed

  • Fixed typo in CONTRIBUTING.md

2.0.5 - 2022-02-12

Fixed

  • Updated workflow to use the new src directory
  • Corrected reference to new src directory in workflow yaml

Changed

  • Instead of storing module source code in a folder at the root of a project repository named the same as the module, build scripts and functions now expect source code to be in a named folder src instead. Still at the root of a project repository.
  • Function New-ModuleDirStructure now also creates tests directory. Also updated the function to create folder containing module source code in src instead of the module name

1.10.2 - 2022-02-10

Changed

  • No longer reference gitversion as gitversion.exe in invoke.build.ps1 for better x-platform compatibility

1.10.0 - 2022-01-26

Added

  • Added Types Folder to Export-RootModule and New-ModuleDirStructure

1.9.3 - 2021-11-21

Added

  • Improved templating for custom pre/post build/release tasks

Fixed

  • Typo in build.yml referencing GH_PROJECTNAME env var
  • Typo in build.yml referencing GH_PROJECTNAME env var

1.9.0 - 2021-11-21

Changed

  • Added parameters to custom.build.ps1

1.8.1 - 2021-11-21

Added

  • Added custom pre and post build tasks to invoke.build.ps1 and also included custom.build.ps1 which drives project-specific custom pre and post build actions

Fixed

  • Fixed GitHub Actions workflow build.yml to reference correct build.ps1 now that there are multiple (custom.build.ps1 + invoke.build.ps1)

1.7.3 - 2021-11-21

Changed

  • Some improvements to Update-BuildFiles so I no longer need to hard code new typical project files

1.7.1 - 2021-11-20

Fixed

  • Fixed build script to copy *format.ps1xml files

1.7.0 - 2021-11-19

Changed

  • Reverted change in invoke.build.ps1 which updated changelog and then copied it as it introduced an issue of making it tricky to add release notes for current version to module manifest during build

1.6.7 - 2021-11-18

Fixed

  • Use Test-ModuleManifest against the correct manifest in the UpdateProjectRepo build task

1.6.6 - 2021-11-10

Fixed

  • Updated invoke.build.ps1

1.6.3 - 2021-11-10

Fixed

  • Build task InstallDependencies was not running before attempting to import codaamok.build

1.6.0 - 2021-11-10

Added

  • Added .gitignore file to the FileList

1.5.5 - 2021-11-10

Added

  • Build script now bails if gitversion.exe is not present on system
  • Local builds now use pre-release tags, i.e. when -Version is not passed to the built script
  • Added CONTRIBUTING.md to this project

Changed

  • Always assume FileList is empty in manifest, just in case "FileList" is mentioned in the release notes, otherwise the regex replace could have got screwed up
  • Change build tasks to update change log and then copy it to the build directory, and removed the copying of the change log in the task build task
  • Renamed build task Changelog to CopyChangeLog
  • Prefix GitHub release and Git tags with v in the pipeline

Fixed

  • Broken reference to CHANGELOG.md in the pipeline in build task UpdateChangeLog
  • Removed backticks from release notes in manifest, was preventing Update-ModuleManifest from working during build

1.3.0 - 2021-11-10

Added

  • Added CONTRIBUTING.md and GitVersion.yml to the FileList

1.2.1 - 2021-11-09

Changed

  • Use GitVersion to determine version numbers instead of Get-BuildVersionNumber

Fixed

  • build.yml did not correctly commit at the end of the pipeline

1.1.0 - 2021-09-18

Changed

  • Removed requirement to use emoji :shipit: in commit message for pipeline to start - was pointless if I wanted to allow ad-hoc use of the pipeline via workflow dispatch

Fixed

  • Export-UnreleasedNotes threw exception when trying to print (an array of) release notes to the verbose output stream
  • Export-UnreleasedNotes constantly wrote 'None' to the release notes and did not use the change log data

1.0.0 - 2021-09-18

Added

  • Initial release