authelia/.buildkite/steps/ghartifacts.sh

14 lines
379 B
Bash
Raw Normal View History

#!/bin/bash
set -eu
artifacts=()
2020-01-05 21:31:33 +07:00
for FILES in \
2020-01-07 06:12:37 +07:00
authelia-linux-amd64.tar.zst authelia-linux-amd64.tar.zst.sha256 \
authelia-linux-arm32v7.tar.zst authelia-linux-arm32v7.tar.zst.sha256 \
authelia-linux-arm64v8.tar.zst authelia-linux-arm64v8.tar.zst.sha256;
do
2020-01-05 21:31:33 +07:00
artifacts+=(-a "${FILES}")
done
2020-01-05 21:31:33 +07:00
hub release create "${artifacts[@]}" -m "${BUILDKITE_TAG}" "${BUILDKITE_TAG}"