Skip to content

Commit

Permalink
Changes in get-version workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kishore7snehil committed Oct 28, 2024
1 parent 4a1d935 commit 70a1c1e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/actions/get-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ runs:
- id: get_version
shell: bash
run: |
VERSION=$(echo ${BRANCH_NAME} | sed -r 's#release/+##g')
VERSION=$(head -1 .version)
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
env:
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}

0 comments on commit 70a1c1e

Please sign in to comment.