We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01bacc3 commit d9c160aCopy full SHA for d9c160a
1 file changed
.github/workflows/release.yml
@@ -35,6 +35,12 @@ jobs:
35
runs-on: ubuntu-latest
36
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/')
37
steps:
38
+ - name: Extract version from branch name
39
+ run: |
40
+ BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
41
+ VERSION=${BRANCH_NAME#release/}
42
+
43
+ echo "::set-env name=RELEASE_VERSION::$VERSION"
44
- name: Create pull request for merging release branch into dev
45
uses: thomaseizinger/create-pull-request@v1
46
with:
0 commit comments