From 40d2e82858e76ce23c9ab62cb589c6c93b97d0d4 Mon Sep 17 00:00:00 2001 From: Cannon Lock Date: Wed, 27 Nov 2024 15:11:46 -0600 Subject: [PATCH 1/3] Toggle dl webhook on release --- .github/workflows/post-release.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/post-release.yaml diff --git a/.github/workflows/post-release.yaml b/.github/workflows/post-release.yaml new file mode 100644 index 000000000..e6c048f71 --- /dev/null +++ b/.github/workflows/post-release.yaml @@ -0,0 +1,14 @@ +# Toggle webhook to pull latest release onto dl.pelicanplatform.org +name: post-release + +on: + release: + types: [published] + +jobs: + toggle-webhook: + runs-on: ubuntu-latest + steps: + - name: Toggle Webhook + run: | + curl -X POST https://dl.pelicanplatform.org/api/api/hooks/release-download-toggle From ed8050f4476e6db75e642f4caa968f640f40ae2d Mon Sep 17 00:00:00 2001 From: Cannon Lock <49032265+CannonLock@users.noreply.github.com> Date: Wed, 4 Dec 2024 14:50:40 -0600 Subject: [PATCH 2/3] Update post-release.yaml --- .github/workflows/post-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-release.yaml b/.github/workflows/post-release.yaml index e6c048f71..1b9e6daa9 100644 --- a/.github/workflows/post-release.yaml +++ b/.github/workflows/post-release.yaml @@ -1,4 +1,4 @@ -# Toggle webhook to pull latest release onto dl.pelicanplatform.org +# Toggle webhook to pull latest release onto pelicanplatform.org and update the download offerings there name: post-release on: From c24dd44a12324c9128f71a6f45d211cbaee92eec Mon Sep 17 00:00:00 2001 From: Cannon Lock <49032265+CannonLock@users.noreply.github.com> Date: Wed, 4 Dec 2024 14:54:30 -0600 Subject: [PATCH 3/3] Update post-release.yaml --- .github/workflows/post-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/post-release.yaml b/.github/workflows/post-release.yaml index 1b9e6daa9..33aa2d6ec 100644 --- a/.github/workflows/post-release.yaml +++ b/.github/workflows/post-release.yaml @@ -1,4 +1,5 @@ # Toggle webhook to pull latest release onto pelicanplatform.org and update the download offerings there +# Post release this will result in the new release being available and the Major/Minor pointers being moved/created accordingly name: post-release on: