Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aastha25 authored Feb 13, 2024
1 parent 40f6958 commit 471d3bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
PGP_PWD: ${{secrets.PGP_PWD}}

- name: 5. Derive version for li-trino-hotfix
if: github.ref == 'refs/heads/li-trino-hotfix'
run: |
branch_name="${{ github.ref#refs/heads/ }}"
echo "branch_name=${branch_name}" >> $GITHUB_ENV
echo "DERIVED_VERSION=2.2.27-${branch_name}" >> $GITHUB_ENV
if: github.ref == 'refs/heads/li-trino-hotfix'
run: |
branch_name="${{ github.ref#refs/heads/ }}"
echo "branch_name=${branch_name}" >> $GITHUB_ENV
echo "DERIVED_VERSION=2.2.27-${branch_name}" >> $GITHUB_ENV
- name: 6. Perform release for li-trino-hotfix branch if commit is this branch
# Release job, only for pushes to the main development branch
Expand Down

0 comments on commit 471d3bf

Please sign in to comment.