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
|
coverage: none
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # required for composer to automatically detect root package version
|
||||||
|
|
||||||
- name: Get Composer Cache Directories
|
- name: Get Composer Cache Directories
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
@ -62,8 +64,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Run composer install
|
- name: Run composer install
|
||||||
run: composer install -o
|
run: composer install -o
|
||||||
env:
|
# DO NOT set this, we need composer to figure out the version itself
|
||||||
COMPOSER_ROOT_VERSION: dev-master
|
# env:
|
||||||
|
# COMPOSER_ROOT_VERSION: dev-master
|
||||||
|
|
||||||
- run: bin/build-phar.sh
|
- run: bin/build-phar.sh
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user