1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix missing version in PHARs build on GA

We were overriding the root version with COMPOSER_ROOT_VERSION, so all
PHARs had `dev-master` as the version for `vimeo/psalm` baked in.

Fixed vimeo/psalm#7606
This commit is contained in:
Bruce Weirdan 2022-12-23 17:26:39 -04:00
parent 597957989c
commit 7dd25b46d8
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D

View File

@ -43,6 +43,8 @@ jobs:
coverage: none
- uses: actions/checkout@v3
with:
fetch-depth: 0 # required for composer to automatically detect root package version
- name: Get Composer Cache Directories
id: composer-cache
@ -62,8 +64,9 @@ jobs:
- name: Run composer install
run: composer install -o
env:
COMPOSER_ROOT_VERSION: dev-master
# DO NOT set this, we need composer to figure out the version itself
# env:
# COMPOSER_ROOT_VERSION: dev-master
- run: bin/build-phar.sh
env: