authelia/.buildkite/steps/ghartifacts.sh
2020-01-07 13:13:41 +11:00

14 lines
379 B
Bash
Executable File

#!/bin/bash
set -eu
artifacts=()
for FILES in \
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
artifacts+=(-a "${FILES}")
done
hub release create "${artifacts[@]}" -m "${BUILDKITE_TAG}" "${BUILDKITE_TAG}"