From 401cdc397c797215035b1c7c7ddfba4c02482392 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Thu, 14 Sep 2023 17:06:48 +0200 Subject: [PATCH] ci: use bash substring comparison to determine package name from branch Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .github/workflows/release-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-ci.yml b/.github/workflows/release-ci.yml index 840f2fe..fcf13ec 100644 --- a/.github/workflows/release-ci.yml +++ b/.github/workflows/release-ci.yml @@ -24,7 +24,7 @@ jobs: - name: Determine package id: determine-package-name run: | - if [[ ${{ github.ref }} == 'refs/heads/release/rustic_server-*' ]]; then + if [[ ${{ github.ref }} == *"rustic_server"* ]]; then echo "package=rustic_server" >> $GITHUB_OUTPUT fi