Skip to content

2.0.0

Choose a tag to compare

@omarlopesino omarlopesino released this 31 Oct 12:12
· 46 commits to main since this release
7800867

This is a major upgrade that introduces new features. Those features have also implied some breaking changes in order to make the usage of drupal-artifact-builder more intuitive and easy.

Features and improvements

  • Now all the parameters can be added through a YML file. It is recommended to use a configuration file so when the command is launched manually, it is not needed to manually write every parameter. Please look at README to know how to write the configuration file.
  • Now it is possible to define the map between branches, in case it is needed to push artifact to different branches than the source branch.
  • Performance of git command has been improved. Instead of cloning the entire repository, it makes a shallow clone (--depth 1).

Breaking changes

  • The parameter to include extra folders, --extra-paths, has been changed to --include
  • In order to recognize the git branch, the GIT_BRANCH environment variable is not used anymore. This is a too much specific variable added by Jenkins and it is not intuitive supporting it.

Migration from 1.x to 2.x

Please follow instructions at README