From e379877512ab13ee5bfd2391d6220e84040494d6 Mon Sep 17 00:00:00 2001 From: Max Kalashnikoff Date: Thu, 18 Jan 2024 22:19:30 +0100 Subject: [PATCH] fix: changing to the -latest- --- .github/workflows/dispatch_deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dispatch_deploy.yaml b/.github/workflows/dispatch_deploy.yaml index a35c4a3..ac3eb01 100644 --- a/.github/workflows/dispatch_deploy.yaml +++ b/.github/workflows/dispatch_deploy.yaml @@ -26,7 +26,7 @@ on: description: "Release Version" type: string required: true - default: 'latest' + default: '-latest-' concurrency: deploy @@ -51,7 +51,7 @@ jobs: - name: Select target version id: select_version run: | - if [ "${{ inputs.version }}" == "latest" ]; then + if [ "${{ inputs.version }}" == "-latest-" ]; then echo "version=$(git tag | sort --version-sort | tail -n1)" >> "$GITHUB_OUTPUT" else echo "version=${{ inputs.version }}" >> "$GITHUB_OUTPUT"