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 f5566d2 commit 1517726Copy full SHA for 1517726
.github/workflows/release-actions.yml
@@ -1,5 +1,5 @@
1
name: Release Actions
2
-on:
+on:
3
pull_request:
4
branches:
5
- master
@@ -77,7 +77,7 @@ jobs:
77
magento_post_install_script: .github/workflows/magento-integration-tests-post-install.sh
78
79
- name: Get Release Version
80
- run: echo "::set-output name=version::$(echo ${{github.head_ref}} | cut -c 9-)"
+ run: echo "::set-output name=version::$(cat composer.json | grep version | awk -F'\"' '{print $4}')"
81
id: version
82
- name: Get Changelog Entry
83
id: changelog_reader
@@ -96,4 +96,4 @@ jobs:
96
release_name: ${{steps.version.outputs.version}}
97
body: ${{steps.changelog_reader.outputs.changes}}
98
draft: false
99
- prerelease: false
+ prerelease: false
0 commit comments