From 4e94d264ddd33676439c5c27e9a20106d2f97d89 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Tue, 14 Sep 2021 20:29:23 +1000 Subject: [PATCH] ci(buildkite): force module index update on tagged release (#2376) --- .buildkite/hooks/post-command | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.buildkite/hooks/post-command b/.buildkite/hooks/post-command index f8278b7a5..549aadb21 100755 --- a/.buildkite/hooks/post-command +++ b/.buildkite/hooks/post-command @@ -72,4 +72,9 @@ if [[ "${BUILDKITE_LABEL}" == ":docker: Deploy Manifests" ]] && [[ "${BUILDKITE_ echo "Removing id ${GHCR_VERSION}" curl -fsL --retry 3 -o /dev/null -X "DELETE" -H "Authorization: Bearer ${GHCR_PASSWORD}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/orgs/authelia/packages/container/authelia/versions/${GHCR_VERSION} done +fi + +if [[ "${BUILDKITE_LABEL}" == ":github: Deploy Artifacts" ]]; then + echo "--- :go: Force module index update" + go get github.com/authelia/authelia/v4 fi \ No newline at end of file