Skip to content

Releases: Metadrop/drupal-artifact-builder

3.1.0-rc1

3.1.0-rc1 Pre-release
Pre-release

Choose a tag to compare

@omarlopesino omarlopesino released this 14 May 19:13
b8e7d2a

Release candidate to:

  • Use git archive for git managed codebases
  • Use rsync for non-git managed codebases

3.0.1

Choose a tag to compare

@omarlopesino omarlopesino released this 14 May 15:49

Bring back compatibility with older symfony librarries, used in Drupal 10 projects. See 996333b

3.0.0

Choose a tag to compare

@omarlopesino omarlopesino released this 13 May 07:51

What's Changed

With the version 3.0.0, now the artifact generation have important new features:

  • The artifact is generated from a clean folder.
  • It is possible to run commands before the command generate adding commands into the configuration.

Full Changelog: 2.1.5...3.0.0

Breaking changes

  • Now it is required to add the branch parameter to all commands.
  • Before, the composer libraries and npm packages were copied from the local repository. Now it is done independently and it must be configured. Check upgrade instructions for more details.

Upgrade from 2.x to 3.x

To be able to bring composer libraries and compile the custom theme, configure commands in .drupal-artifact-builder.yml.

Example:
```yaml
commands:
    - composer install --no-dev
    - cd web/themes/custom/foo/ && npm install && npm run production
```

3.0.0-RC2

3.0.0-RC2 Pre-release
Pre-release

Choose a tag to compare

@juanjol juanjol released this 12 May 14:11

Changelog

  • Bugfixing git fetch/checkout logic of RC1.

Full Changelog: 3.0.0-RC1...3.0.0-RC2

3.0.0-RC1 - Refactor and responsability for each step redefined

Choose a tag to compare

@juanjol juanjol released this 11 May 15:53

Changelog

v3.0.0-RC1

Breaking changes

  • Commands restructured: create now only copies files to the artifact folder; git handles cloning, committing, and pushing. The build command still orchestrates both.
  • assertArtifactContentIsClean removed: the pre-build check that blocked execution when the working tree had uncommitted changes no longer exists.
  • FILES_TO_CLEAN constant removed: the hardcoded list of files to strip (CHANGELOG.txt, LICENSE.txt, .eslintrc.json, etc.) is gone. File exclusion is now driven by .gitignore logic.
  • ARTIFACT_FOLDER constant moved to ConfigInterface: the default artifact output folder is now ConfigInterface::DEFAULT_ARTIFACT_FOLDER and is configurable.

New features

  • --artifact-folder option: the destination folder for the artifact can now be overridden via CLI (default remains deploy-artifact/).
  • --branch / -b option: artifact target branch can be specified on the command line.
  • runCommandInFolder(): new helper to run shell commands in an arbitrary working directory, replacing ad-hoc cd prefixes.
  • Improved .gitignore generation: logic for building the artifact's .gitignore has 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.

2.1.5

Choose a tag to compare

@omarlopesino omarlopesino released this 17 Sep 13:51
  • Fix errors where markdown files where not being deleted.
  • Issue #23: Safe error when drupal-artifact-builder is run without repository defined.
  • Make it clear in README drupal-artifact-builder does not currently compile or download libraries.

Prevent commiting .md files

Choose a tag to compare

@omarlopesino omarlopesino released this 16 Sep 13:53
2.1.4

Prevent deleting markdown files used by contrib modules

2.1.2

Choose a tag to compare

@omarlopesino omarlopesino released this 06 Jun 13:25
5e15c44

What's Changed

  • Issue #21: Fatal error is occurring while preparing the commit to the… by @omarlopesino in #22

Full Changelog: 2.1.1...2.1.2

2.1.1

Choose a tag to compare

@omarlopesino omarlopesino released this 30 May 11:55

Add .ht.router.php and .htaccess

2.1.0

Choose a tag to compare

@omarlopesino omarlopesino released this 30 May 11:28
  • Forcibly add to git files under web that are required in any drupal deployment (only when they exist):
    • index.php
    • autoload.php
    • update.php
    • web.config
    • robots.txt
  • Forcibly add to git files configured under include.