Skip to content

Commit 47a823d

Browse files
committed
Fix file names
1 parent e98c1cd commit 47a823d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,15 @@ jobs:
3838
- name: Write release version
3939
run: |
4040
TAG="${{ github.ref_name }}"
41-
echo "VERSION=${TAG}" >> "$GITHUB_ENV"
41+
echo "TAG=${TAG}" >> "$GITHUB_ENV"
42+
echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
4243
echo "COMPOSER_VERSION=$(composer config version)" >> "$GITHUB_ENV"
4344
4445
- name: Validate composer.json and composer.lock
4546
run: composer validate
4647

4748
- name: Make sure a version is set in composer.json that matches the tag
48-
if: "${{ env.COMPOSER_VERSION != env.VERSION }}"
49+
if: "${{ env.COMPOSER_VERSION != env.TAG }}"
4950
run: exit 1
5051

5152
- name: Install Composer dependencies

0 commit comments

Comments
 (0)