From ecfa660647a1d061e81a58c2e62e8119a3c26b9f Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Thu, 21 Mar 2024 14:27:50 +0100 Subject: [PATCH] Fix argument --- .github/workflows/new_release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/new_release.yml b/.github/workflows/new_release.yml index 5953b3f9eb..bd8f16716f 100644 --- a/.github/workflows/new_release.yml +++ b/.github/workflows/new_release.yml @@ -34,14 +34,12 @@ jobs: target_branch: ${{ github.event.inputs.target_branch }} latest: ${{ github.event.inputs.target_branch }} run: | - [[ $latest = true ]] && latest_arg="--latest" - gh release create "$tag" \ --repo="$GITHUB_REPOSITORY" \ --title="$title" \ --notes="Run tests: $tests"\ --target="$target_branch" \ - latest_arg + --latest=$latest ubuntu: