We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dce00a8 commit 80e1338Copy full SHA for 80e1338
.github/workflows/stage-release.yml
@@ -6,6 +6,7 @@ on:
6
7
env:
8
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9
+ BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
10
11
jobs:
12
github-release:
@@ -20,7 +21,6 @@ jobs:
20
21
- name: Extract version from branch name
22
id: extract_version
23
run: |
- BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
24
VERSION=$(echo $BRANCH_NAME | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
25
echo "VERSION=$VERSION" >> $GITHUB_ENV
26
- name: Prep git
0 commit comments