From ebf2697d33dcc42c02f11b86a169e071174c1a6a Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Wed, 24 Jul 2024 11:37:55 +0200 Subject: [PATCH 1/2] Remove `post` identifier in determine deploy directory --- .github/workflows/build_and_deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 881bb1c6..638dd21a 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -113,6 +113,7 @@ jobs: VER="${TAG/a*/}" # remove alpha identifier VER="${VER/b*/}" # remove beta identifier VER="${VER/rc*/}" # remove rc identifier + VER="${VER/post*}" # remove post identifier if [[ "$REF" == "refs/tags/v"* ]]; then echo "branch_name=$VER" >> "$GITHUB_ENV" From c07fcaa2243db3f8812b02c38c52bd80e429fce9 Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Wed, 24 Jul 2024 11:39:31 +0200 Subject: [PATCH 2/2] fix by add `/` --- .github/workflows/build_and_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 638dd21a..690cb8a7 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -113,7 +113,7 @@ jobs: VER="${TAG/a*/}" # remove alpha identifier VER="${VER/b*/}" # remove beta identifier VER="${VER/rc*/}" # remove rc identifier - VER="${VER/post*}" # remove post identifier + VER="${VER/post*/}" # remove post identifier if [[ "$REF" == "refs/tags/v"* ]]; then echo "branch_name=$VER" >> "$GITHUB_ENV"