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:
parent
597957989c
commit
7dd25b46d8
7
.github/workflows/build-phar.yml
vendored
7
.github/workflows/build-phar.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user