Skip to content

Commit

Permalink
Merge pull request #15 from simahawk/master
Browse files Browse the repository at this point in the history
shell_command_after: fix doc and add real life example
  • Loading branch information
sbidoul authored Jun 7, 2017
2 parents fe0a1d3 + 343463a commit 90e77a2
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ the aggregated directory.
merges:
- oca 8.0
target: acsone aggregated_branch_name
shell_command_after: echo 'my command'
shell_command_after: echo 'my command'
./connector-interfaces:
remotes:
Expand All @@ -134,9 +134,23 @@ the aggregated directory.
merges:
- oca 9.0
target: acsone aggregated_branch_name
shell_command_after:
- echo 'a first command'
- echo 'a second command'
shell_command_after:
- echo 'a first command'
- echo 'a second command'
A real life example: applying a patch

.. code-block:: yaml
./odoo:
remotes:
oca: https://github.com/OCA/OCB.git
acsone: [email protected]/acsone/OCB.git
merges:
- oca 9.0
target: acsone aggregated_branch_name
shell_command_after:
- git am "$(git format-patch -1 XXXXXX -o ../patches)"
Command line Usage
==================
Expand Down

0 comments on commit 90e77a2

Please sign in to comment.