authelia/.buildkite/steps/ghartifacts.sh

15 lines
440 B
Bash
Raw Normal View History

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