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