diff --git a/action.bash b/action.bash index de7b7db..96d91a9 100755 --- a/action.bash +++ b/action.bash @@ -6,12 +6,13 @@ TARGET=icinga/icingaweb2 mkimg () { test -n "$TAG" + test -n "$MODE" node /actions/checkout/dist/index.js |grep -vFe ::add-matcher:: git archive --prefix=icingaweb2/ HEAD |tar -x - /get-mods.sh "$1" + /get-mods.sh "$MODE" /composer.bash patch -d icingaweb2 -p0 < /icingaweb2.patch @@ -31,39 +32,24 @@ push () { fi } -# Matches Git references that start with `refs/` and then continue with `heads/` or `tags/`. -# An optional `v` that follows is ignored. Then the tag or branch name is captured. These may -# be of the following forms and what is captured of them: -# -# -