Skip to content

Commit

Permalink
ci: fix production release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tenequm committed Oct 17, 2023
1 parent 279965c commit 4a4819f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/branch-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
if: ( github.event.pull_request.merged == true && startsWith(github.head_ref, 'rc/') || github.event_name == 'workflow_dispatch' )
runs-on: ubuntu-latest
outputs:
RELEASE_VERSION: ${{ steps.set_vars.outputs.RELEASE_VERSION }}
RELEASE_CANDIDATE_VERSION: ${{ steps.set_vars.outputs.RELEASE_CANDIDATE_VERSION }}
RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.release_version || steps.set_vars.outputs.RELEASE_VERSION }}
RELEASE_CANDIDATE_VERSION: ${{ github.event_name == 'workflow_dispatch' && format('{0}-rc', inputs.release_version) || steps.set_vars.outputs.RELEASE_CANDIDATE_VERSION }}
steps:
- name: Set release version
id: set_vars
Expand Down

0 comments on commit 4a4819f

Please sign in to comment.