We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e98c1cd commit b080488Copy full SHA for b080488
.github/workflows/build-release.yml
@@ -38,14 +38,15 @@ jobs:
38
- name: Write release version
39
run: |
40
TAG="${{ github.ref_name }}"
41
+ echo "TAG=${TAG}#v" >> "$GITHUB_ENV"
42
echo "VERSION=${TAG}" >> "$GITHUB_ENV"
43
echo "COMPOSER_VERSION=$(composer config version)" >> "$GITHUB_ENV"
44
45
- name: Validate composer.json and composer.lock
46
run: composer validate
47
48
- name: Make sure a version is set in composer.json that matches the tag
- if: "${{ env.COMPOSER_VERSION != env.VERSION }}"
49
+ if: "${{ env.COMPOSER_VERSION != env.TAG }}"
50
run: exit 1
51
52
- name: Install Composer dependencies
0 commit comments