Skip to content

Commit

Permalink
update root example
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofferlind committed Nov 6, 2022
1 parent 501fce0 commit 6c7a326
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/.knega.root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ defaultConfiguration:
# name defines command name, ie knega changed build in this case
- name: "build"
# commands are executed with component directory as working directory, root scripts can be run using $ROOT
# $ROOT, $COMPONENT_NAME and $INPUTS_HASH available as environment variables during execution
commands: [
"$ROOT/scripts/build.sh -a $COMPONENT_NAME -h $INPUTS_HASH"
"$ROOT/scripts/build.sh
]
# example knega all release to execute these commands for all components
- name: "release"
commands: [
"$ROOT/scripts/release.sh -a $COMPONENT_NAME -h $INPUTS_HASH"
"$ROOT/scripts/release.sh
]

0 comments on commit 6c7a326

Please sign in to comment.