From 7b65f39dceebfe45e60d6faa9dcaffea3ee1b748 Mon Sep 17 00:00:00 2001
From: Yannik Schmidt <yannik.schmidt@tum.de>
Date: Mon, 2 Sep 2024 14:31:31 +0200
Subject: [PATCH] Fix version parameter

---
 .github/workflows/scorpio_auto_update.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/scorpio_auto_update.yml b/.github/workflows/scorpio_auto_update.yml
index 85158c7dc..f3b7fb2c6 100644
--- a/.github/workflows/scorpio_auto_update.yml
+++ b/.github/workflows/scorpio_auto_update.yml
@@ -12,7 +12,7 @@ jobs:
       - name: Extract release version from webhook
         id: extract_release_version
         run: |
-          RELEASE_VERSION=$(echo ${{ github.event.client_payload.release.tag_name }})
+          RELEASE_VERSION=$(echo ${{ github.event.client_payload.version }})
           echo "Release version: $RELEASE_VERSION"
           echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV