5.0.2 - 2022-09-20
Export-UnreleasedNotes
incorrectly checkedIsPresent
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
- Minimum PowerShell version dropped to 5.1 from 7.0
5.0.0 - 2022-04-20
- New
src/Enums
folder using
statements are taken from all .ps1 files under thesrc/Classes
folder and placed at the top of the .psm1, before inserting class code. Then all over code is inserted; script files undersrc/Enums
,src/Private
, andsrc/Public
.
- Folder
src/Types
must now besrc/Classes
4.0.7 - 2022-04-14
- Renamed name of worklow from
CI/CD Pipeline
toPipeline
for simplified shields.io
4.0.6 - 2022-04-11
invoke.build.ps1
did not correctly recreate the build directory folder structure
4.0.4 - 2022-04-11
invoke.build.ps1
did not correctly recreate the build directory folder structureInvoke-BuildClean
did not create folders after deleting them
4.0.3 - 2022-04-10
Invoke-BuildClean
did not delete sub folders
4.0.2 - 2022-04-10
New-ModuleDirStructure
failed to correctly create theabout_
text file
4.0.0 - 2022-03-02
- New mandatory parameter
-File
forExport-ScriptsToProcess
; must provide a scalar or array object of[System.IO.FileSystemInfo]
as the file(s) you want concatenated into a single file.
- Actually fixed the
Process.ps1
ScriptsToProcess issue, by fixing incorrect script scope variable reference inExport-ScriptsToProcess
3.1.2 - 2022-03-02
- Build script did not create the
Process.ps1
script file (for ScriptsToProcess) even if scripts existed undersrc\ScriptsToProcess
3.1.1 - 2022-03-01
- Added
testResults.xml
to.gitignore
3.1.0 - 2022-02-27
Update-BuildFiles
will not updatepipeline.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
- Workflow step
Build
failed on scheduled-only runs due to empty changelog
3.0.1 - 2022-02-26
Update-BuildFiles
deletesbuild.yml
if it exists (due to its rename topipeline.yml
)
- 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 viapush
orworkflow_dispatch
. - Workflow
pipeline.yml
now runs on a schedule: 11 7 * * * - Renamed workflow name and file from
build.yml
topipeline.yml
2.1.0 - 2022-02-26
- New conditional step in build workflow if
tests/invoke.tests.ps1
exists
2.0.18 - 2022-02-12
Update-BuildFiles
did not copygitignore
with the leading period... again... ffs
2.0.16 - 2022-02-12
Update-BuildFiles
did not copygitignore
with the leading period... again... ffs
2.0.13 - 2022-02-12
Update-BuildFiles
did not copygitignore
with the leading period
2.0.11 - 2022-02-12
- Updated
.gitignore
to include.DS_Store
- Module manifests can not have files in
FileList
(leading?) with periods, so changed.gitignore
togitignore
and updatedUpdate-BuildFiles
to insert the period when copying - Now
Update-BuildFiles
andinvoke.build.ps1
include hidden files for theFileList
property
2.0.9 - 2022-02-12
- Fixed typo in
CONTRIBUTING.md
2.0.5 - 2022-02-12
- Updated workflow to use the new
src
directory - Corrected reference to new
src
directory in workflow yaml
- 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 createstests
directory. Also updated the function to create folder containing module source code insrc
instead of the module name
1.10.2 - 2022-02-10
- No longer reference
gitversion
asgitversion.exe
ininvoke.build.ps1
for better x-platform compatibility
1.10.0 - 2022-01-26
- Added Types Folder to
Export-RootModule
andNew-ModuleDirStructure
1.9.3 - 2021-11-21
- Improved templating for custom pre/post build/release tasks
- Typo in build.yml referencing GH_PROJECTNAME env var
- Typo in build.yml referencing GH_PROJECTNAME env var
1.9.0 - 2021-11-21
- Added parameters to custom.build.ps1
1.8.1 - 2021-11-21
- Added custom pre and post build tasks to
invoke.build.ps1
and also includedcustom.build.ps1
which drives project-specific custom pre and post build actions
- 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
- Some improvements to
Update-BuildFiles
so I no longer need to hard code new typical project files
1.7.1 - 2021-11-20
- Fixed build script to copy *format.ps1xml files
1.7.0 - 2021-11-19
- 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
- Use
Test-ModuleManifest
against the correct manifest in theUpdateProjectRepo
build task
1.6.6 - 2021-11-10
- Updated invoke.build.ps1
1.6.3 - 2021-11-10
- Build task InstallDependencies was not running before attempting to import codaamok.build
1.6.0 - 2021-11-10
- Added .gitignore file to the FileList
1.5.5 - 2021-11-10
- 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
- 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
toCopyChangeLog
- Prefix GitHub release and Git tags with
v
in the pipeline
- 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
CONTRIBUTING.md
andGitVersion.yml
to theFileList
1.2.1 - 2021-11-09
- Use GitVersion to determine version numbers instead of
Get-BuildVersionNumber
build.yml
did not correctly commit at the end of the pipeline
1.1.0 - 2021-09-18
- Removed requirement to use emoji in commit message for pipeline to start - was pointless if I wanted to allow ad-hoc use of the pipeline via workflow dispatch
- 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
- Initial release