2020-06-18 14:49:13 +07:00
|
|
|
#!/usr/bin/env bash
|
2020-02-20 06:25:28 +07:00
|
|
|
set -eu
|
|
|
|
|
2020-03-09 08:32:07 +07: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 11:56:31 +07:00
|
|
|
fi
|
2020-03-09 08:32:07 +07:00
|
|
|
cat << EOF
|
2021-12-03 11:56:31 +07:00
|
|
|
if: build.tag != null
|
2020-03-09 08:32:07 +07:00
|
|
|
EOF
|
2021-12-03 11:56:31 +07:00
|
|
|
done
|