Release tools - execute git commit --dry-run
to prevent unexpected crashes
#17967
Labels
package:dev
squad:platform
Issue to be handled by the Platform team.
type:improvement
This issue reports a possible enhancement of an existing feature.
📝 Provide a description of the improvement
Our platform implements custom release tools. It allows for the preparation of the packages to be published on npm but also executes a dry run that produces packages but does not impact the repository (do not create a commit, a tag, etc.).
The dry-run mode is implemented by defining a
skip
callback:ckeditor5/scripts/release/preparepackages.mjs
Lines 309 to 334 in b4759c7
While it worked and works fine in most cases, I think it isn't a proper approach as we miss execution of static analysis tools, like ESLint (attached as a
pre-commit
hook).I would like to update our tools and processes:
commitAndTag()
function.Definition of Done
commitAndTag()
allows of creation of a new commit using the dry-run mode.The text was updated successfully, but these errors were encountered: