2019-12-27 11:07:53 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
artifacts=()
|
|
|
|
|
2020-01-05 14:31:33 +00:00
|
|
|
for FILES in \
|
2020-01-06 23:12:37 +00: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;
|
2019-12-27 11:07:53 +00:00
|
|
|
do
|
2020-01-05 14:31:33 +00:00
|
|
|
artifacts+=(-a "${FILES}")
|
2019-12-27 11:07:53 +00:00
|
|
|
done
|
|
|
|
|
2020-01-05 14:31:33 +00:00
|
|
|
hub release create "${artifacts[@]}" -m "${BUILDKITE_TAG}" "${BUILDKITE_TAG}"
|