2020-06-18 07:49:13 +00:00
|
|
|
#!/usr/bin/env bash
|
2020-02-19 23:25:28 +00:00
|
|
|
set -eu
|
|
|
|
|
2020-03-09 01:32:07 +00:00
|
|
|
for AUR_PACKAGE in authelia authelia-bin authelia-git; do
|
|
|
|
cat << EOF
|
|
|
|
- label: ":linux: Deploy AUR Package [${AUR_PACKAGE}]"
|
|
|
|
command: "aurhelper.sh"
|
|
|
|
agents:
|
|
|
|
upload: "fast"
|
|
|
|
env:
|
|
|
|
PACKAGE: "${AUR_PACKAGE}"
|
|
|
|
EOF
|
|
|
|
if [[ "${AUR_PACKAGE}" != "authelia-git" ]]; then
|
|
|
|
cat << EOF
|
|
|
|
depends_on:
|
|
|
|
- "artifacts"
|
|
|
|
EOF
|
2021-12-03 04:56:31 +00:00
|
|
|
fi
|
2020-03-09 01:32:07 +00:00
|
|
|
cat << EOF
|
2021-12-03 04:56:31 +00:00
|
|
|
if: build.tag != null
|
2020-03-09 01:32:07 +00:00
|
|
|
EOF
|
2021-12-03 04:56:31 +00:00
|
|
|
done
|