Repository navigation
3.0.0-RC1 - Refactor and responsability for each step redefined
Pre-release
Pre-release
Changelog
v3.0.0-RC1
Breaking changes
- Commands restructured:
createnow only copies files to the artifact folder;githandles cloning, committing, and pushing. Thebuildcommand still orchestrates both. assertArtifactContentIsCleanremoved: the pre-build check that blocked execution when the working tree had uncommitted changes no longer exists.FILES_TO_CLEANconstant removed: the hardcoded list of files to strip (CHANGELOG.txt, LICENSE.txt, .eslintrc.json, etc.) is gone. File exclusion is now driven by.gitignorelogic.ARTIFACT_FOLDERconstant moved toConfigInterface: the default artifact output folder is nowConfigInterface::DEFAULT_ARTIFACT_FOLDERand is configurable.
New features
--artifact-folderoption: the destination folder for the artifact can now be overridden via CLI (default remainsdeploy-artifact/).--branch/-boption: artifact target branch can be specified on the command line.runCommandInFolder(): new helper to run shell commands in an arbitrary working directory, replacing ad-hoccdprefixes.- Improved
.gitignoregeneration: logic for building the artifact's.gitignorehas been refactored and made more reliable. - Process timeout increased: shell command timeout raised from 300 s to 600 s.
Internal / housekeeping
- Type hints added to
configure(),initialize(),runCommand(), and other methods.