diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2025-01-26 08:52:40 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2025-01-26 08:52:40 +0100 |
| commit | 60f13a8717082626fabefa82417b050d6339a177 (patch) | |
| tree | 209acfb273cf46709b0cf62f54cc0078d9d1e38e | |
| parent | a85228858749d33f7d0d2356d85dac68bfdf4521 (diff) | |
upload-artifact: Set default directory on getdir
Otherwise, uploads without the `-d` flag are broken because the first
file is considered the directory to upload to.
| -rwxr-xr-x | upload-artifact | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/upload-artifact b/upload-artifact index e74f176..d0a172e 100755 --- a/upload-artifact +++ b/upload-artifact @@ -32,6 +32,8 @@ login() getdir() { + dir="/" + while getopts "d:" arg do case $arg in |
