~kt/udprelay

e0cf99f1be7dcb7a7bd5c3706b17042f0f895f2f — Katie Wolfe 4 months ago d2bc44d
Make .build.yml use non-conflicting filenames for ref artifacts
1 files changed, 3 insertions(+), 1 deletions(-)

M .build.yml
M .build.yml => .build.yml +3 -1
@@ 19,7 19,9 @@ tasks:
- upload: |
    ref="$(git -C udprelay describe --exact-match HEAD)" || exit 0
    for f in udprelay/{udprelay-linux-*,udprelay.{1,7}}; do
      curl -H @.sr.ht.headers -F "file=@$f" "https://git.sr.ht/api/~kt/repos/udprelay/artifacts/${ref}"
      filename="$(basename "${f}")"
      filename="udprelay-${ref}-${filename#udprelay-}"
      curl -H @.sr.ht.headers -F "file=@$f;filename=\"${filename}\"" "https://git.sr.ht/api/~kt/repos/udprelay/artifacts/${ref}"
    done
artifacts:
- udprelay/udprelay-linux-386