From 76c1df00a18202f0ad483fe1a3d0bb3efa991081 Mon Sep 17 00:00:00 2001 From: Anthony Pham Date: Thu, 31 Oct 2024 18:46:16 +0100 Subject: [PATCH] fix dispatch trigger --- .github/workflows/dispatch-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch-update.yml b/.github/workflows/dispatch-update.yml index 3eb1b0b9c6..7b310bcd8e 100644 --- a/.github/workflows/dispatch-update.yml +++ b/.github/workflows/dispatch-update.yml @@ -16,7 +16,7 @@ jobs: - name: Update docs to new version run: | - TAG_NAME="${{ env.TAG_NAME#v }}" + TAG_NAME="$(echo "${TAG_NAME}" | sed 's/^v//')" # Update docs to use the new version sed -i -E "s/v\.?[0-9]+\.[0-9]+\.[0-9]+[a-zA-Z0-9\-]*/v${TAG_NAME}/g" \