mirror of
https://github.com/authelia/authelia.git
synced 2026-10-28 09:34:52 +08:00
28 lines
493 B
Bash
Executable File
28 lines
493 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# SPDX-FileCopyrightText: 2026 Authelia
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -eu
|
|
|
|
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
|
|
fi
|
|
cat << EOF
|
|
if: build.tag != null
|
|
EOF
|
|
done
|