From 1199e195b5cb900d6d3d03eb34a812deb814d5c9 Mon Sep 17 00:00:00 2001 From: abhishek-kumar-piyush <97152893+abhishek-kumar-piyush@users.noreply.github.com> Date: Mon, 14 Mar 2022 23:20:47 +0530 Subject: [PATCH] fix37 --- .github/workflows/create_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 9934a80..d47bb83 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -30,10 +30,10 @@ jobs: echo $GITHUB_ENV echo $BRANCH echo ${{ env.BRANCH }} - echo ${{ BRANCH == 'prod' }} + echo ${{ contains(env.BRANCH, 'prod') }} - name: Create Release - if: env.BRANCH == "prod" + if: contains(env.BRANCH, 'prod') uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: ${{ secrets.GITHUB_TOKEN }}