Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 2.04 KB

DEV.md

File metadata and controls

81 lines (55 loc) · 2.04 KB

Dev Tools

The following tasks are part of the development tools, to simplify the local development and release process.

dev:sync

Sync local application with the remote instance.

$ dep dev:sync local

dev:tr

Reset local branch for further development.

$ dep dev:tr local

dev:release

This task combines multiple steps to automate the release preparation.

Start the new release task.

$ dep dev:release local

Define the new release number within the prompt or use --newVersion=1.2.3.

This includes the following steps:

You can extend or overwrite or disabled these steps, e.g.

task('dev:release:test:acceptance')->addAfter(function() {
    runLocally('echo hello world')
});

task('dev:release:qa:npm')->disable();

Use the following command to reset the new release branch (in case of an occurring error):

$ dep dev:release:reset local

Use the following command to finish the new release branch by checking out the default branch and creating the new release version:

$ dep dev:release:finish local

General advices

Always check the automated created git commits before pushing them.

See the default config set.php to adjust the release process to your needs.

Hint: Use the following command to link your git user into the ddev container.

ln -s ~/.gitconfig ~/.ddev/homeadditions/.gitconfig