Merge pull request 'merge-after-ci: just inline script' (#151) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 24s

This commit is contained in:
clan-bot 2023-08-22 11:47:17 +00:00
commit 957e417b50
2 changed files with 4 additions and 8 deletions

View File

@ -18,6 +18,9 @@ writeShellApplication {
tea-create-pr
];
text = ''
bash ${./script.sh} "$@"
remoteName="''${1:-origin}"
targetBranch="''${2:-main}"
shift && shift
tea-create-pr "$remoteName" "$targetBranch" --assignees clan-bot "$@"
'';
}

View File

@ -1,7 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
remoteName="${1:-origin}"
targetBranch="${2:-main}"
shift && shift
tea-create-pr "$remoteName" "$targetBranch" --assignees clan-bot "$@"