Skip to content

Commit bce6205

Browse files
authored
Merge branch 'master' into chore/GHA-070131-stepsecurity-remediation
2 parents 4f62ed3 + 9f08f7e commit bce6205

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish-new-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333

3434
- name: Extract version from branch name (for release branches)
3535
id: extract-version
36+
env:
37+
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
3638
run: |
37-
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
38-
VERSION=${BRANCH_NAME#release/}
39+
VERSION="${BRANCH_NAME#release/}"
3940
echo "release_version=$VERSION" >> $GITHUB_OUTPUT
4041
4142
- name: Checkout source branch

0 commit comments

Comments
 (0)